public static enum CachePolicyDecisionRequestHandler.DisconnectionStrategy extends Enum<CachePolicyDecisionRequestHandler.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 CachePolicyDecisionRequestHandler.DisconnectionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CachePolicyDecisionRequestHandler.DisconnectionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CachePolicyDecisionRequestHandler.DisconnectionStrategy CLEAR_ON_DISCONNECT
public static final CachePolicyDecisionRequestHandler.DisconnectionStrategy CLEAR_ON_RECONNECT
public static final CachePolicyDecisionRequestHandler.DisconnectionStrategy NEVER_CLEAR
public static CachePolicyDecisionRequestHandler.DisconnectionStrategy[] values()
for (CachePolicyDecisionRequestHandler.DisconnectionStrategy c : CachePolicyDecisionRequestHandler.DisconnectionStrategy.values()) System.out.println(c);
public static CachePolicyDecisionRequestHandler.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.