Package mondrian.spi
Enum SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType
- java.lang.Object
-
- java.lang.Enum<SegmentCache.SegmentCacheListener.SegmentCacheEvent.EventType>
-
- 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 theSegmentCache.SegmentCacheListener
class.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENTRY_CREATED
An Entry was created in cache.ENTRY_DELETED
An entry was deleted from the cache.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 nameNullPointerException
- if the argument is null
-
-