public enum StrategyOnFull extends Enum<StrategyOnFull>
Enum Constant and Description |
---|
OverwriteOldestData |
RejectNewData |
Modifier and Type | Method and Description |
---|---|
static StrategyOnFull |
fromValue(Long value) |
Long |
value() |
static StrategyOnFull |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StrategyOnFull[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StrategyOnFull RejectNewData
public static final StrategyOnFull OverwriteOldestData
public static StrategyOnFull[] values()
for (StrategyOnFull c : StrategyOnFull.values()) System.out.println(c);
public static StrategyOnFull 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 Long value()
public static StrategyOnFull fromValue(Long value)