public static enum ExpiringLazy.ExpirationType extends java.lang.Enum<ExpiringLazy.ExpirationType>
| Enum Constant and Description |
|---|
READ
Expire the value n milliseconds after the last
ExpiringLazy.get() call. |
WRITE
Expire the value n milliseconds after the last initialization.
|
| Modifier and Type | Method and Description |
|---|---|
static ExpiringLazy.ExpirationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExpiringLazy.ExpirationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpiringLazy.ExpirationType READ
ExpiringLazy.get() call.public static final ExpiringLazy.ExpirationType WRITE
public static ExpiringLazy.ExpirationType[] values()
for (ExpiringLazy.ExpirationType c : ExpiringLazy.ExpirationType.values()) System.out.println(c);
public static ExpiringLazy.ExpirationType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null