public enum SessionTTLUnit extends java.lang.Enum<SessionTTLUnit>
| Enum Constant and Description |
|---|
DAYS |
HOURS |
MILLISECONDS |
MINUTES |
SECONDS |
| Modifier and Type | Method and Description |
|---|---|
static SessionTTLUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SessionTTLUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionTTLUnit MILLISECONDS
public static final SessionTTLUnit SECONDS
public static final SessionTTLUnit MINUTES
public static final SessionTTLUnit HOURS
public static final SessionTTLUnit DAYS
public static SessionTTLUnit[] values()
for (SessionTTLUnit c : SessionTTLUnit.values()) System.out.println(c);
public static SessionTTLUnit 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