org.jboss.cache.notifications.event
Enum Event.Type
java.lang.Object
java.lang.Enum<Event.Type>
org.jboss.cache.notifications.event.Event.Type
- All Implemented Interfaces:
- Serializable, Comparable<Event.Type>
- Enclosing interface:
- Event
public static enum Event.Type
- extends Enum<Event.Type>
Method Summary |
static Event.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Event.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
CACHE_STARTED
public static final Event.Type CACHE_STARTED
CACHE_STOPPED
public static final Event.Type CACHE_STOPPED
CACHE_BLOCKED
public static final Event.Type CACHE_BLOCKED
CACHE_UNBLOCKED
public static final Event.Type CACHE_UNBLOCKED
NODE_ACTIVATED
public static final Event.Type NODE_ACTIVATED
NODE_PASSIVATED
public static final Event.Type NODE_PASSIVATED
NODE_LOADED
public static final Event.Type NODE_LOADED
NODE_EVICTED
public static final Event.Type NODE_EVICTED
NODE_CREATED
public static final Event.Type NODE_CREATED
NODE_REMOVED
public static final Event.Type NODE_REMOVED
NODE_MODIFIED
public static final Event.Type NODE_MODIFIED
NODE_MOVED
public static final Event.Type NODE_MOVED
NODE_VISITED
public static final Event.Type NODE_VISITED
TRANSACTION_COMPLETED
public static final Event.Type TRANSACTION_COMPLETED
TRANSACTION_REGISTERED
public static final Event.Type TRANSACTION_REGISTERED
VIEW_CHANGED
public static final Event.Type VIEW_CHANGED
BUDDY_GROUP_CHANGED
public static final Event.Type BUDDY_GROUP_CHANGED
NODE_INVALIDATED
public static final Event.Type NODE_INVALIDATED
values
public static final Event.Type[] 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(Event.Type c : Event.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Event.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 name
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.