Tabnine Logo
Broker.getTempDataStore
Code IndexAdd Tabnine to your IDE (free)

How to use
getTempDataStore
method
in
org.apache.activemq.broker.Broker

Best Java code snippets using org.apache.activemq.broker.Broker.getTempDataStore (Showing top 16 results out of 315)

origin: apache/activemq

@Override
public PListStore getTempDataStore() {
  return getNext().getTempDataStore();
}
origin: apache/activemq

/**
 * @param broker
 * @param name
 * @param prioritizedMessages
 */
public FilePendingMessageCursor(Broker broker, String name, boolean prioritizedMessages) {
  super(prioritizedMessages);
  if (this.prioritizedMessages) {
    this.memoryList = new PrioritizedPendingList();
  } else {
    this.memoryList = new OrderedPendingList();
  }
  this.broker = broker;
  // the store can be null if the BrokerService has persistence
  // turned off
  this.store = broker.getTempDataStore();
  this.name = NAME_COUNT.incrementAndGet() + "_" + name;
}
origin: apache/activemq

public TopicSubscription(Broker broker,ConnectionContext context, ConsumerInfo info, SystemUsage usageManager) throws Exception {
  super(broker, context, info);
  this.usageManager = usageManager;
  String matchedName = "TopicSubscription:" + CURSOR_NAME_COUNTER.getAndIncrement() + "[" + info.getConsumerId().toString() + "]";
  if (info.getDestination().isTemporary() || broker.getTempDataStore()==null ) {
    this.matched = new VMPendingMessageCursor(false);
  } else {
    this.matched = new FilePendingMessageCursor(broker,matchedName,false);
  }
  this.scheduler = broker.getScheduler();
}
origin: pierre/meteo

public PListStore getTempDataStore() {
  return next.getTempDataStore();
}
origin: pierre/meteo

/**
 * @param broker
 * @param name
 * @param prioritizedMessages
 */
public FilePendingMessageCursor(Broker broker, String name, boolean prioritizedMessages) {
  super(prioritizedMessages);
  this.broker = broker;
  // the store can be null if the BrokerService has persistence
  // turned off
  this.store = broker.getTempDataStore();
  this.name = NAME_COUNT.incrementAndGet() + "_" + name;
}
origin: org.apache.activemq/activemq-broker

@Override
public PListStore getTempDataStore() {
  return getNext().getTempDataStore();
}
origin: org.apache.activemq/activemq-all

@Override
public PListStore getTempDataStore() {
  return getNext().getTempDataStore();
}
origin: org.apache.activemq/activemq-osgi

@Override
public PListStore getTempDataStore() {
  return getNext().getTempDataStore();
}
origin: pierre/meteo

public PListStore getTempDataStore() {
  return getNext().getTempDataStore();
}
origin: org.apache.activemq/activemq-osgi

/**
 * @param broker
 * @param name
 * @param prioritizedMessages
 */
public FilePendingMessageCursor(Broker broker, String name, boolean prioritizedMessages) {
  super(prioritizedMessages);
  if (this.prioritizedMessages) {
    this.memoryList = new PrioritizedPendingList();
  } else {
    this.memoryList = new OrderedPendingList();
  }
  this.broker = broker;
  // the store can be null if the BrokerService has persistence
  // turned off
  this.store = broker.getTempDataStore();
  this.name = NAME_COUNT.incrementAndGet() + "_" + name;
}
origin: org.apache.activemq/activemq-broker

/**
 * @param broker
 * @param name
 * @param prioritizedMessages
 */
public FilePendingMessageCursor(Broker broker, String name, boolean prioritizedMessages) {
  super(prioritizedMessages);
  if (this.prioritizedMessages) {
    this.memoryList = new PrioritizedPendingList();
  } else {
    this.memoryList = new OrderedPendingList();
  }
  this.broker = broker;
  // the store can be null if the BrokerService has persistence
  // turned off
  this.store = broker.getTempDataStore();
  this.name = NAME_COUNT.incrementAndGet() + "_" + name;
}
origin: org.apache.activemq/activemq-all

/**
 * @param broker
 * @param name
 * @param prioritizedMessages
 */
public FilePendingMessageCursor(Broker broker, String name, boolean prioritizedMessages) {
  super(prioritizedMessages);
  if (this.prioritizedMessages) {
    this.memoryList = new PrioritizedPendingList();
  } else {
    this.memoryList = new OrderedPendingList();
  }
  this.broker = broker;
  // the store can be null if the BrokerService has persistence
  // turned off
  this.store = broker.getTempDataStore();
  this.name = NAME_COUNT.incrementAndGet() + "_" + name;
}
origin: pierre/meteo

public TopicSubscription(Broker broker,ConnectionContext context, ConsumerInfo info, SystemUsage usageManager) throws Exception {
  super(broker, context, info);
  this.usageManager = usageManager;
  String matchedName = "TopicSubscription:" + CURSOR_NAME_COUNTER.getAndIncrement() + "[" + info.getConsumerId().toString() + "]";
  if (info.getDestination().isTemporary() || broker == null || broker.getTempDataStore()==null ) {
    this.matched = new VMPendingMessageCursor(false);
  } else {
    this.matched = new FilePendingMessageCursor(broker,matchedName,false);
  }
}
origin: org.apache.activemq/activemq-broker

public TopicSubscription(Broker broker,ConnectionContext context, ConsumerInfo info, SystemUsage usageManager) throws Exception {
  super(broker, context, info);
  this.usageManager = usageManager;
  String matchedName = "TopicSubscription:" + CURSOR_NAME_COUNTER.getAndIncrement() + "[" + info.getConsumerId().toString() + "]";
  if (info.getDestination().isTemporary() || broker.getTempDataStore()==null ) {
    this.matched = new VMPendingMessageCursor(false);
  } else {
    this.matched = new FilePendingMessageCursor(broker,matchedName,false);
  }
  this.scheduler = broker.getScheduler();
}
origin: org.apache.activemq/activemq-all

public TopicSubscription(Broker broker,ConnectionContext context, ConsumerInfo info, SystemUsage usageManager) throws Exception {
  super(broker, context, info);
  this.usageManager = usageManager;
  String matchedName = "TopicSubscription:" + CURSOR_NAME_COUNTER.getAndIncrement() + "[" + info.getConsumerId().toString() + "]";
  if (info.getDestination().isTemporary() || broker.getTempDataStore()==null ) {
    this.matched = new VMPendingMessageCursor(false);
  } else {
    this.matched = new FilePendingMessageCursor(broker,matchedName,false);
  }
  this.scheduler = broker.getScheduler();
}
origin: org.apache.activemq/activemq-osgi

public TopicSubscription(Broker broker,ConnectionContext context, ConsumerInfo info, SystemUsage usageManager) throws Exception {
  super(broker, context, info);
  this.usageManager = usageManager;
  String matchedName = "TopicSubscription:" + CURSOR_NAME_COUNTER.getAndIncrement() + "[" + info.getConsumerId().toString() + "]";
  if (info.getDestination().isTemporary() || broker.getTempDataStore()==null ) {
    this.matched = new VMPendingMessageCursor(false);
  } else {
    this.matched = new FilePendingMessageCursor(broker,matchedName,false);
  }
  this.scheduler = broker.getScheduler();
}
org.apache.activemq.brokerBrokergetTempDataStore

Popular methods of Broker

  • getAdaptor
    Get a Broker from the Broker Stack that is a particular class
  • getDestinationMap
    return a reference destination map of a region based on the destination type
  • removeDestination
  • commitTransaction
    Commits a transaction.
  • forgetTransaction
    Forgets a transaction.
  • getBrokerService
  • getClients
  • getDestinations
  • getPreparedTransactions
    Gets a list of all the prepared xa transactions.
  • getVmConnectorURI
  • removeConsumer
  • acknowledge
  • removeConsumer,
  • acknowledge,
  • addBroker,
  • addConnection,
  • addConsumer,
  • addDestination,
  • addDestinationInfo,
  • addProducer,
  • addSession,
  • beginTransaction

Popular in Java

  • Making http requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now