mondrian.spi
Enum SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType

java.lang.Object
  extended by java.lang.Enum<SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType>
      extended by mondrian.spi.SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType
All Implemented Interfaces:
Serializable, Comparable<SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType>
Enclosing interface:
SegmentCache.SegmentCacheListener.SegmentCacheEvent

public static enum SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType
extends Enum<SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType>

Defined the possible types of events used by the SegmentCache.SegmentCacheListener class.


Enum Constant Summary
ENTRY_CREATED
          An Entry was created in cache.
ENTRY_DELETED
          An entry was deleted from the cache.
 
Method Summary
static SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType[] 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

ENTRY_CREATED

public static final SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType ENTRY_CREATED
An Entry was created in cache.


ENTRY_DELETED

public static final SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType ENTRY_DELETED
An entry was deleted from the cache.

Method Detail

values

public static SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType[] 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 (SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType c : SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType.values())
    System.out.println(c);

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

valueOf

public static SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType 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

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads