18#ifndef _ACTIVEMQ_CORE_PREFETCHPOLICY_H_
19#define _ACTIVEMQ_CORE_PREFETCHPOLICY_H_
37 PrefetchPolicy(
const PrefetchPolicy&);
38 PrefetchPolicy& operator=(
const PrefetchPolicy&);
130 virtual PrefetchPolicy*
clone()
const = 0;
#define AMQCPP_API
Definition Config.h:30
virtual void setQueuePrefetch(int value)=0
Sets the amount of prefetched messages for a Queue.
virtual int getTopicPrefetch() const =0
Gets the amount of messages to prefetch for a Topic.
virtual void setDurableTopicPrefetch(int value)=0
Sets the amount of prefetched messages for a Durable Topic.
virtual ~PrefetchPolicy()
virtual int getQueueBrowserPrefetch() const =0
Gets the amount of messages to prefetch for a Queue Browser.
virtual void setTopicPrefetch(int value)=0
Sets the amount of prefetched messages for a Topic.
virtual void configure(const decaf::util::Properties &properties)
Checks the supplied properties object for properties matching the configurable settings of this class...
virtual PrefetchPolicy * clone() const =0
Clone the Policy and return a new pointer to that clone.
virtual void setQueueBrowserPrefetch(int value)=0
Sets the amount of prefetched messages for a Queue Browser.
virtual void setAll(int value)
Sets the prefetch value on all available prefetch configuration options.
virtual int getDurableTopicPrefetch() const =0
Gets the amount of messages to prefetch for a Durable Topic.
virtual int getMaxPrefetchLimit(int value) const =0
Given a requested value for a new prefetch limit, compare it against some max prefetch value and retu...
virtual int getQueuePrefetch() const =0
Gets the amount of messages to prefetch for a Queue.
Java-like properties class for mapping string names to string values.
Definition Properties.h:53
Definition ActiveMQTempDestination.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24