ehcache

net.sf.ehcache.distribution
Enum RmiEventMessage.RmiEventType

java.lang.Object
  extended by java.lang.Enum<RmiEventMessage.RmiEventType>
      extended by net.sf.ehcache.distribution.RmiEventMessage.RmiEventType
All Implemented Interfaces:
Serializable, Comparable<RmiEventMessage.RmiEventType>
Enclosing class:
RmiEventMessage

public static enum RmiEventMessage.RmiEventType
extends Enum<RmiEventMessage.RmiEventType>

Enumeration of event types.


Enum Constant Summary
PUT
          A put or update event.
REMOVE
          A remove or invalidate event.
REMOVE_ALL
          A removeAll, which removes all elements from a cache
 
Method Summary
static RmiEventMessage.RmiEventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RmiEventMessage.RmiEventType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PUT

public static final RmiEventMessage.RmiEventType PUT
A put or update event.


REMOVE

public static final RmiEventMessage.RmiEventType REMOVE
A remove or invalidate event.


REMOVE_ALL

public static final RmiEventMessage.RmiEventType REMOVE_ALL
A removeAll, which removes all elements from a cache

Method Detail

values

public static RmiEventMessage.RmiEventType[] 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 (RmiEventMessage.RmiEventType c : RmiEventMessage.RmiEventType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RmiEventMessage.RmiEventType 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
NullPointerException - if the argument is null

ehcache

Copyright 2001-2016, Terracotta, Inc.