Tabnine Logo
ActiveMQPrefetchPolicy.setTopicPrefetch
Code IndexAdd Tabnine to your IDE (free)

How to use
setTopicPrefetch
method
in
org.apache.activemq.ActiveMQPrefetchPolicy

Best Java code snippets using org.apache.activemq.ActiveMQPrefetchPolicy.setTopicPrefetch (Showing top 3 results out of 315)

origin: apache/activemq

/**
 * Sets the prefeftch policy to one.
 */
protected void setPrefetchToOne() {
  ActiveMQPrefetchPolicy prefetchPolicy = getPrefetchPolicy();
  prefetchPolicy.setQueuePrefetch(1);
  prefetchPolicy.setTopicPrefetch(1);
  prefetchPolicy.setDurableTopicPrefetch(1);
  prefetchPolicy.setOptimizeDurableTopicPrefetch(1);
}
origin: org.apache.james/james-server-queue-activemq

private ActiveMQPrefetchPolicy createActiveMQPrefetchPolicy() {
  ActiveMQPrefetchPolicy prefetchPolicy = new ActiveMQPrefetchPolicy();
  prefetchPolicy.setQueuePrefetch(0);
  prefetchPolicy.setTopicPrefetch(0);
  return prefetchPolicy;
}
origin: apache/activemq-artemis

/**
* Sets the prefeftch policy to one.
*/
protected void setPrefetchToOne() {
 ActiveMQPrefetchPolicy prefetchPolicy = getPrefetchPolicy();
 prefetchPolicy.setQueuePrefetch(1);
 prefetchPolicy.setTopicPrefetch(1);
 prefetchPolicy.setDurableTopicPrefetch(1);
 prefetchPolicy.setOptimizeDurableTopicPrefetch(1);
}
org.apache.activemqActiveMQPrefetchPolicysetTopicPrefetch

Popular methods of ActiveMQPrefetchPolicy

  • <init>
    Initialize default prefetch policies
  • setQueuePrefetch
  • getDurableTopicPrefetch
  • getMaxPrefetchLimit
  • getMaximumPendingMessageLimit
  • getOptimizeDurableTopicPrefetch
  • getQueueBrowserPrefetch
  • getQueuePrefetch
  • getTopicPrefetch
  • setDurableTopicPrefetch
  • setOptimizeDurableTopicPrefetch
  • getInputStreamPrefetch
  • setOptimizeDurableTopicPrefetch,
  • getInputStreamPrefetch,
  • setAll

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (Timer)
  • requestLocationUpdates (LocationManager)
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top Sublime Text 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