#include <src/main/activemq/core/policies/DefaultPrefetchPolicy.h>
Constructor & Destructor Documentation
activemq::core::policies::DefaultPrefetchPolicy::DefaultPrefetchPolicy |
( |
| ) |
|
virtual activemq::core::policies::DefaultPrefetchPolicy::~DefaultPrefetchPolicy |
( |
| ) |
|
|
virtual |
Member Function Documentation
virtual PrefetchPolicy* activemq::core::policies::DefaultPrefetchPolicy::clone |
( |
| ) |
const |
|
virtual |
virtual int activemq::core::policies::DefaultPrefetchPolicy::getDurableTopicPrefetch |
( |
| ) |
const |
|
inlinevirtual |
Gets the amount of messages to prefetch for a Durable Topic.
- Returns
- value of the number of messages to prefetch.
Implements activemq::core::PrefetchPolicy.
virtual int activemq::core::policies::DefaultPrefetchPolicy::getMaxPrefetchLimit |
( |
int |
value | ) |
const |
|
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.
- Returns
- the allowable value for a prefetch limit, either requested or the max.
Implements activemq::core::PrefetchPolicy.
virtual int activemq::core::policies::DefaultPrefetchPolicy::getQueueBrowserPrefetch |
( |
| ) |
const |
|
inlinevirtual |
Gets the amount of messages to prefetch for a Queue Browser.
- Returns
- value of the number of messages to prefetch.
Implements activemq::core::PrefetchPolicy.
virtual int activemq::core::policies::DefaultPrefetchPolicy::getQueuePrefetch |
( |
| ) |
const |
|
inlinevirtual |
virtual int activemq::core::policies::DefaultPrefetchPolicy::getTopicPrefetch |
( |
| ) |
const |
|
inlinevirtual |
virtual void activemq::core::policies::DefaultPrefetchPolicy::setDurableTopicPrefetch |
( |
int |
value | ) |
|
|
inlinevirtual |
Sets the amount of prefetched messages for a Durable Topic.
- Parameters
-
value | The number of messages to prefetch. |
Implements activemq::core::PrefetchPolicy.
virtual void activemq::core::policies::DefaultPrefetchPolicy::setQueueBrowserPrefetch |
( |
int |
value | ) |
|
|
inlinevirtual |
Sets the amount of prefetched messages for a Queue Browser.
- Parameters
-
value | The number of messages to prefetch. |
Implements activemq::core::PrefetchPolicy.
virtual void activemq::core::policies::DefaultPrefetchPolicy::setQueuePrefetch |
( |
int |
value | ) |
|
|
inlinevirtual |
virtual void activemq::core::policies::DefaultPrefetchPolicy::setTopicPrefetch |
( |
int |
value | ) |
|
|
inlinevirtual |
Field Documentation
int activemq::core::policies::DefaultPrefetchPolicy::DEFAULT_DURABLE_TOPIC_PREFETCH |
|
static |
int activemq::core::policies::DefaultPrefetchPolicy::DEFAULT_QUEUE_BROWSER_PREFETCH |
|
static |
int activemq::core::policies::DefaultPrefetchPolicy::DEFAULT_QUEUE_PREFETCH |
|
static |
int activemq::core::policies::DefaultPrefetchPolicy::DEFAULT_TOPIC_PREFETCH |
|
static |
int activemq::core::policies::DefaultPrefetchPolicy::MAX_PREFETCH_SIZE |
|
static |
The documentation for this class was generated from the following file: