public static enum ConfigLoader.UnavailableBehavior extends Enum<ConfigLoader.UnavailableBehavior>
Enum Constant and Description |
---|
HOLD
HOLD, if I can't send it, keep it in memory until I can or until I
get destroyed by the garbage collector
|
HOLDPERSIST
HOLDPERSIST, if I can't send it, store it to disk, then send when
it's available
|
PURGE
PURGE, if I can't send it, throw it out
|
Modifier and Type | Method and Description |
---|---|
static ConfigLoader.UnavailableBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigLoader.UnavailableBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigLoader.UnavailableBehavior PURGE
public static final ConfigLoader.UnavailableBehavior HOLD
public static final ConfigLoader.UnavailableBehavior HOLDPERSIST
public static ConfigLoader.UnavailableBehavior[] values()
for (ConfigLoader.UnavailableBehavior c : ConfigLoader.UnavailableBehavior.values()) System.out.println(c);
public static ConfigLoader.UnavailableBehavior 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 © 2008–2017 MIL-OSS. All rights reserved.