Enum ClientEvent.Type
- java.lang.Object
-
- java.lang.Enum<ClientEvent.Type>
-
- org.infinispan.client.hotrod.event.ClientEvent.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<ClientEvent.Type>
- Enclosing interface:
- ClientEvent
public static enum ClientEvent.Type extends Enum<ClientEvent.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_CACHE_ENTRY_CREATED
CLIENT_CACHE_ENTRY_EXPIRED
CLIENT_CACHE_ENTRY_MODIFIED
CLIENT_CACHE_ENTRY_REMOVED
CLIENT_CACHE_FAILOVER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientEvent.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static ClientEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLIENT_CACHE_ENTRY_CREATED
public static final ClientEvent.Type CLIENT_CACHE_ENTRY_CREATED
-
CLIENT_CACHE_ENTRY_MODIFIED
public static final ClientEvent.Type CLIENT_CACHE_ENTRY_MODIFIED
-
CLIENT_CACHE_ENTRY_REMOVED
public static final ClientEvent.Type CLIENT_CACHE_ENTRY_REMOVED
-
CLIENT_CACHE_ENTRY_EXPIRED
public static final ClientEvent.Type CLIENT_CACHE_ENTRY_EXPIRED
-
CLIENT_CACHE_FAILOVER
public static final ClientEvent.Type CLIENT_CACHE_FAILOVER
-
-
Method Detail
-
values
public static ClientEvent.Type[] 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 (ClientEvent.Type c : ClientEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientEvent.Type 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
-
-