public enum EventDataFilter extends java.lang.Enum<EventDataFilter>
Enum Constant | Description |
---|---|
DataWithMetadata |
This specifies that the value of the cache item is required along with all the meta data when an event notification is raised.
|
Metadata |
This specifies that only meta data of cache item is required when an event notification is raised.Meta data includes in information like groups, subgroups, cacheItemPriority, item version etc.
|
None |
This specifies that no data or meta data is required when an event notification is raised.
|
Modifier and Type | Method | Description |
---|---|---|
static EventDataFilter |
forValue(int value) |
retreives the enum constant of the specified value, if exists.
|
int |
getValue() |
Order is important in enums.By using getValue() method, each enum constant index can be found, just like array index.
|
static EventDataFilter |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EventDataFilter[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventDataFilter None
public static final EventDataFilter Metadata
public static final EventDataFilter DataWithMetadata
public static EventDataFilter[] values()
for (EventDataFilter c : EventDataFilter.values()) System.out.println(c);
public static EventDataFilter 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 nullpublic static EventDataFilter forValue(int value)
value
- enum constant indexpublic int getValue()