org.jboss.cache.notifications.event
Enum NodeModifiedEvent.ModificationType
java.lang.Object
java.lang.Enum<NodeModifiedEvent.ModificationType>
org.jboss.cache.notifications.event.NodeModifiedEvent.ModificationType
- All Implemented Interfaces:
- Serializable, Comparable<NodeModifiedEvent.ModificationType>
- Enclosing interface:
- NodeModifiedEvent
public static enum NodeModifiedEvent.ModificationType
- extends Enum<NodeModifiedEvent.ModificationType>
Different cache modification types.
PUT_DATA
public static final NodeModifiedEvent.ModificationType PUT_DATA
REMOVE_DATA
public static final NodeModifiedEvent.ModificationType REMOVE_DATA
PUT_MAP
public static final NodeModifiedEvent.ModificationType PUT_MAP
values
public static final NodeModifiedEvent.ModificationType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(NodeModifiedEvent.ModificationType c : NodeModifiedEvent.ModificationType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static NodeModifiedEvent.ModificationType 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 name
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.