public static enum DebugInfoReceiverQueue.DiscardPolicy extends java.lang.Enum<DebugInfoReceiverQueue.DiscardPolicy>
DebugInfo elements are either
discarded or evicted when the agent queues reach their configured
capacity. The default is to discard arriving elements.| Enum Constant and Description |
|---|
DISCARDNEWEST
Discard arriving
DebugInfo elements until the given agent
queue can accommodate them. |
DISCARDOLDEST
Evict the oldest
DebugInfo elements from the agent queue to
make room for arriving elements. |
| Modifier and Type | Method and Description |
|---|---|
static DebugInfoReceiverQueue.DiscardPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DebugInfoReceiverQueue.DiscardPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DebugInfoReceiverQueue.DiscardPolicy DISCARDNEWEST
DebugInfo elements until the given agent
queue can accommodate them.public static final DebugInfoReceiverQueue.DiscardPolicy DISCARDOLDEST
DebugInfo elements from the agent queue to
make room for arriving elements.public static DebugInfoReceiverQueue.DiscardPolicy[] values()
public static DebugInfoReceiverQueue.DiscardPolicy valueOf(java.lang.String name)
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullname - the name of the enum constant to be returned.© Copyright IBM 2017