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

Public Member Functions | |
| DefaultRedeliveryPolicy () | |
| virtual | ~DefaultRedeliveryPolicy () |
| virtual double | getBackOffMultiplier () const |
| virtual void | setBackOffMultiplier (double value) |
| Sets the Back-Off Multiplier for Message Redelivery. | |
| virtual short | getCollisionAvoidancePercent () const |
| virtual void | setCollisionAvoidancePercent (short value) |
| virtual long long | getInitialRedeliveryDelay () const |
| Gets the initial time that redelivery of messages is delayed. | |
| virtual void | setInitialRedeliveryDelay (long long value) |
| Sets the initial time that redelivery will be delayed. | |
| virtual long long | getRedeliveryDelay () const |
| Gets the time that redelivery of messages is delayed. | |
| virtual void | setRedeliveryDelay (long long value) |
| Sets the time that redelivery will be delayed. | |
| virtual int | getMaximumRedeliveries () const |
| Gets the Maximum number of allowed redeliveries for a message before it will be discarded by the consumer. | |
| virtual void | setMaximumRedeliveries (int value) |
| Sets the Maximum allowable redeliveries for a Message. | |
| virtual bool | isUseCollisionAvoidance () const |
| virtual void | setUseCollisionAvoidance (bool value) |
| virtual bool | isUseExponentialBackOff () const |
| virtual void | setUseExponentialBackOff (bool value) |
| virtual long long | getMaximumRedeliveryDelay () const |
| Returns the maximum amount of time that the redelivery delay is allowed to increase to before it is capped. | |
| virtual void | setMaximumRedeliveryDelay (long long value) |
| Sets the maximum amount of time that the redelivery delay is allowed to increase to before it is capped. | |
| virtual long long | getNextRedeliveryDelay (long long previousDelay) |
| Given the last used redelivery delay calculate the next value of the delay based on the settings in this Policy instance. | |
| virtual RedeliveryPolicy * | clone () const |
| Create a copy of this Policy and return it. | |
| Public Member Functions inherited from activemq::core::RedeliveryPolicy | |
| virtual | ~RedeliveryPolicy () |
| virtual void | configure (const decaf::util::Properties &properties) |
| Checks the supplied properties object for properties matching the configurable settings of this class. | |
Additional Inherited Members | |
| Static Public Attributes inherited from activemq::core::RedeliveryPolicy | |
| static const long long | NO_MAXIMUM_REDELIVERIES |
| Protected Member Functions inherited from activemq::core::RedeliveryPolicy | |
| RedeliveryPolicy () | |
| activemq::core::policies::DefaultRedeliveryPolicy::DefaultRedeliveryPolicy | ( | ) |
|
virtual |
|
virtual |
Create a copy of this Policy and return it.
Implements activemq::core::RedeliveryPolicy.
|
inlinevirtual |
Implements activemq::core::RedeliveryPolicy.
|
virtual |
Implements activemq::core::RedeliveryPolicy.
|
inlinevirtual |
Gets the initial time that redelivery of messages is delayed.
Implements activemq::core::RedeliveryPolicy.
|
inlinevirtual |
Gets the Maximum number of allowed redeliveries for a message before it will be discarded by the consumer.
Implements activemq::core::RedeliveryPolicy.
|
inlinevirtual |
Returns the maximum amount of time that the redelivery delay is allowed to increase to before it is capped.
Implements activemq::core::RedeliveryPolicy.
|
virtual |
Given the last used redelivery delay calculate the next value of the delay based on the settings in this Policy instance.
| previousDelay | The last delay that was used between message redeliveries. |
Implements activemq::core::RedeliveryPolicy.
|
inlinevirtual |
Gets the time that redelivery of messages is delayed.
Implements activemq::core::RedeliveryPolicy.
|
inlinevirtual |
Implements activemq::core::RedeliveryPolicy.
|
inlinevirtual |
Implements activemq::core::RedeliveryPolicy.
|
inlinevirtual |
Sets the Back-Off Multiplier for Message Redelivery.
| value | The new value for the back-off multiplier. |
Implements activemq::core::RedeliveryPolicy.
|
virtual |
| value | The collision avoidance percentage setting. |
Implements activemq::core::RedeliveryPolicy.
|
inlinevirtual |
Sets the initial time that redelivery will be delayed.
| value | Time in Milliseconds to wait before starting redelivery. |
Implements activemq::core::RedeliveryPolicy.
|
inlinevirtual |
Sets the Maximum allowable redeliveries for a Message.
| maximumRedeliveries | The maximum number of times that a message will be redelivered. |
Implements activemq::core::RedeliveryPolicy.
|
inlinevirtual |
Sets the maximum amount of time that the redelivery delay is allowed to increase to before it is capped.
By default this value is set to -1 which disables any maximum delay.
| value | The maximum redelivery delay value in milliseconds. |
Implements activemq::core::RedeliveryPolicy.
|
inlinevirtual |
Sets the time that redelivery will be delayed.
| value | Time in Milliseconds to wait before the next redelivery. |
Implements activemq::core::RedeliveryPolicy.
|
inlinevirtual |
| value | Enable or Disable collision avoidance for this Policy. |
Implements activemq::core::RedeliveryPolicy.
|
inlinevirtual |
| value | Enable or Disable the exponential back off multiplier option. |
Implements activemq::core::RedeliveryPolicy.