Enum SessionUpdateTask.CacheOperation
- java.lang.Object
-
- java.lang.Enum<SessionUpdateTask.CacheOperation>
-
- org.keycloak.models.sessions.infinispan.changes.SessionUpdateTask.CacheOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<SessionUpdateTask.CacheOperation>
- Enclosing interface:
- SessionUpdateTask<S extends SessionEntity>
public static enum SessionUpdateTask.CacheOperation extends Enum<SessionUpdateTask.CacheOperation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
ADD_IF_ABSENT
REMOVE
REPLACE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SessionUpdateTask.CacheOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static SessionUpdateTask.CacheOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final SessionUpdateTask.CacheOperation ADD
-
ADD_IF_ABSENT
public static final SessionUpdateTask.CacheOperation ADD_IF_ABSENT
-
REMOVE
public static final SessionUpdateTask.CacheOperation REMOVE
-
REPLACE
public static final SessionUpdateTask.CacheOperation REPLACE
-
-
Method Detail
-
values
public static SessionUpdateTask.CacheOperation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SessionUpdateTask.CacheOperation c : SessionUpdateTask.CacheOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SessionUpdateTask.CacheOperation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-