public static enum EConfigure.DiscardPolicy extends Enum<EConfigure.DiscardPolicy>
| Enum Constant and Description |
|---|
OLDEST_FIRST
Discard the oldest messages first (FIFO).
|
YOUNGEST_FIRST
Discard the youngest messages first (LIFO).
|
| Modifier and Type | Method and Description |
|---|---|
static EConfigure.DiscardPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EConfigure.DiscardPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EConfigure.DiscardPolicy OLDEST_FIRST
public static final EConfigure.DiscardPolicy YOUNGEST_FIRST
public static EConfigure.DiscardPolicy[] values()
for (EConfigure.DiscardPolicy c : EConfigure.DiscardPolicy.values()) System.out.println(c);
public static EConfigure.DiscardPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.