public class RVQueuePolicy
extends java.lang.Object
TIBRVQUEUE_DISCARD_NONE
, which means that no
message is ever discarded.TIBRVQUEUE_DISCARD_NONE
causes excess TIBCO RV messages to be
discarded, and therefore not imported by the TIBCO EMS Server, but help prevents unbound memory growth.Modifier and Type | Field and Description |
---|---|
static int |
TIBRVQUEUE_DISCARD_FIRST
Discard the first event in the queue (that is, the oldest event in the queue, which would otherwise be the next
event to dispatch).
|
static int |
TIBRVQUEUE_DISCARD_LAST
Discard the last event in the queue (that is, the youngest event in the queue).
|
static int |
TIBRVQUEUE_DISCARD_NONE
Never discard events; use this policy when a queue has no limit on the number of events it can contain.
|
Modifier and Type | Method and Description |
---|---|
int |
getDiscardAmount()
When the TIBCO RV queue exceeds its maximum message limit, discard a block of messages.
|
int |
getMaxEvents()
The maximum number of messages that the TIBCO RV queue can hold before starting to discard messages.
|
int |
getPolicy()
Returns the policy of this discard policy.
|
java.lang.String |
getPolicyName()
Returns a string representation of the discard policy.
|
java.lang.String |
toString() |
public static final int TIBRVQUEUE_DISCARD_NONE
public static final int TIBRVQUEUE_DISCARD_FIRST
public static final int TIBRVQUEUE_DISCARD_LAST
public int getPolicy()
public java.lang.String getPolicyName()
public int getMaxEvents()
TIBRVQUEUE_DISCARD_NONE
public int getDiscardAmount()
TIBRVQUEUE_DISCARD_NONE
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © Cloud Software Group, Inc. All rights reserved