public static enum CacheSessionService.DisconnectionStrategy extends Enum<CacheSessionService.DisconnectionStrategy>
Enum Constant and Description |
---|
CLEAR_ON_DISCONNECT
Clear the cache when the notification service is disconnected.
|
CLEAR_ON_RECONNECT
Clear the cache when the notification service gets reconnected.
|
NEVER_CLEAR
Do not touch the cache when the notification service gets disconnected or reconnected.
|
Modifier and Type | Method and Description |
---|---|
static CacheSessionService.DisconnectionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheSessionService.DisconnectionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheSessionService.DisconnectionStrategy CLEAR_ON_DISCONNECT
public static final CacheSessionService.DisconnectionStrategy CLEAR_ON_RECONNECT
public static final CacheSessionService.DisconnectionStrategy NEVER_CLEAR
public static CacheSessionService.DisconnectionStrategy[] values()
for (CacheSessionService.DisconnectionStrategy c : CacheSessionService.DisconnectionStrategy.values()) System.out.println(c);
public static CacheSessionService.DisconnectionStrategy 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 2011-2017 ForgeRock AS.