public static enum BacklogConfig.LimitReachedPolicy extends Enum<BacklogConfig.LimitReachedPolicy>
Enum Constant and Description |
---|
BLOCK_NEW |
DROP_MEMBER |
DROP_OLDEST |
DROP_UNTIL_RESYNC |
Modifier and Type | Method and Description |
---|---|
static BacklogConfig.LimitReachedPolicy |
fromCode(byte code) |
byte |
getCode() |
static BacklogConfig.LimitReachedPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BacklogConfig.LimitReachedPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BacklogConfig.LimitReachedPolicy DROP_OLDEST
public static final BacklogConfig.LimitReachedPolicy DROP_UNTIL_RESYNC
public static final BacklogConfig.LimitReachedPolicy BLOCK_NEW
public static final BacklogConfig.LimitReachedPolicy DROP_MEMBER
public static BacklogConfig.LimitReachedPolicy[] values()
for (BacklogConfig.LimitReachedPolicy c : BacklogConfig.LimitReachedPolicy.values()) System.out.println(c);
public static BacklogConfig.LimitReachedPolicy 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 nullpublic static BacklogConfig.LimitReachedPolicy fromCode(byte code)
public byte getCode()
Copyright © GigaSpaces.