|
activemq-cpp-3.9.5
|
#include <src/main/activemq/core/policies/DefaultPrefetchPolicy.h>

Public Member Functions | |
| DefaultPrefetchPolicy () | |
| virtual | ~DefaultPrefetchPolicy () |
| virtual void | setDurableTopicPrefetch (int value) |
| Sets the amount of prefetched messages for a Durable Topic. | |
| virtual int | getDurableTopicPrefetch () const |
| Gets the amount of messages to prefetch for a Durable Topic. | |
| virtual void | setQueuePrefetch (int value) |
| Sets the amount of prefetched messages for a Queue. | |
| virtual int | getQueuePrefetch () const |
| Gets the amount of messages to prefetch for a Queue. | |
| virtual void | setQueueBrowserPrefetch (int value) |
| Sets the amount of prefetched messages for a Queue Browser. | |
| virtual int | getQueueBrowserPrefetch () const |
| Gets the amount of messages to prefetch for a Queue Browser. | |
| virtual void | setTopicPrefetch (int value) |
| Sets the amount of prefetched messages for a Topic. | |
| virtual int | getTopicPrefetch () const |
| Gets the amount of messages to prefetch for a Topic. | |
| virtual int | getMaxPrefetchLimit (int value) const |
| Given a requested value for a new prefetch limit, compare it against some max prefetch value and return either the requested value or the maximum allowable value for prefetch. | |
| virtual PrefetchPolicy * | clone () const |
| Clone the Policy and return a new pointer to that clone. | |
Public Member Functions inherited from activemq::core::PrefetchPolicy | |
| virtual | ~PrefetchPolicy () |
| virtual void | setDurableTopicPrefetch (int value)=0 |
| Sets the amount of prefetched messages for a Durable Topic. | |
| virtual int | getDurableTopicPrefetch () const =0 |
| Gets the amount of messages to prefetch for a Durable Topic. | |
| virtual void | setQueuePrefetch (int value)=0 |
| Sets the amount of prefetched messages for a Queue. | |
| virtual int | getQueuePrefetch () const =0 |
| Gets the amount of messages to prefetch for a Queue. | |
| virtual void | setQueueBrowserPrefetch (int value)=0 |
| Sets the amount of prefetched messages for a Queue Browser. | |
| 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 int | getTopicPrefetch () const =0 |
| Gets the amount of messages to prefetch for a Topic. | |
| virtual void | setAll (int value) |
| Sets the prefetch value on all available prefetch configuration options. | |
| virtual int | getMaxPrefetchLimit (int value) const =0 |
| Given a requested value for a new prefetch limit, compare it against some max prefetch value and return either the requested value or the maximum allowable value for prefetch. | |
| virtual PrefetchPolicy * | clone () const =0 |
| Clone the Policy and return a new pointer to that clone. | |
| virtual void | configure (const decaf::util::Properties &properties) |
| Checks the supplied properties object for properties matching the configurable settings of this class. | |
Static Public Attributes | |
| static int | MAX_PREFETCH_SIZE |
| static int | DEFAULT_DURABLE_TOPIC_PREFETCH |
| static int | DEFAULT_QUEUE_PREFETCH |
| static int | DEFAULT_QUEUE_BROWSER_PREFETCH |
| static int | DEFAULT_TOPIC_PREFETCH |
Additional Inherited Members | |
Protected Member Functions inherited from activemq::core::PrefetchPolicy | |
| PrefetchPolicy () | |
| activemq::core::policies::DefaultPrefetchPolicy::DefaultPrefetchPolicy | ( | ) |
|
virtual |
|
virtual |
Clone the Policy and return a new pointer to that clone.
Implements activemq::core::PrefetchPolicy.
|
inlinevirtual |
Gets the amount of messages to prefetch for a Durable Topic.
Implements activemq::core::PrefetchPolicy.
|
inlinevirtual |
Given a requested value for a new prefetch limit, compare it against some max prefetch value and return either the requested value or the maximum allowable value for prefetch.
Implements activemq::core::PrefetchPolicy.
|
inlinevirtual |
Gets the amount of messages to prefetch for a Queue Browser.
Implements activemq::core::PrefetchPolicy.
|
inlinevirtual |
Gets the amount of messages to prefetch for a Queue.
Implements activemq::core::PrefetchPolicy.
|
inlinevirtual |
Gets the amount of messages to prefetch for a Topic.
Implements activemq::core::PrefetchPolicy.
|
inlinevirtual |
Sets the amount of prefetched messages for a Durable Topic.
| value | The number of messages to prefetch. |
Implements activemq::core::PrefetchPolicy.
|
inlinevirtual |
Sets the amount of prefetched messages for a Queue Browser.
| value | The number of messages to prefetch. |
Implements activemq::core::PrefetchPolicy.
|
inlinevirtual |
Sets the amount of prefetched messages for a Queue.
| value | The number of messages to prefetch. |
Implements activemq::core::PrefetchPolicy.
|
inlinevirtual |
Sets the amount of prefetched messages for a Topic.
| value | The number of messages to prefetch. |
Implements activemq::core::PrefetchPolicy.
|
static |
|
static |
|
static |
|
static |
|
static |