congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ActiveMQPrefetchPolicy.setOptimizeDurableTopicPrefetch
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.apache.activemq.ActiveMQPrefetchPolicy.setOptimizeDurableTopicPrefetch (Showing top 2 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: 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.activemqActiveMQPrefetchPolicysetOptimizeDurableTopicPrefetch

Popular methods of ActiveMQPrefetchPolicy

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

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • startActivity (Activity)
  • addToBackStack (FragmentTransaction)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Kernel (java.awt.image)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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