Enum ElementEventType
java.lang.Object
java.lang.Enum<ElementEventType>
org.apache.commons.jcs3.engine.control.event.behavior.ElementEventType
- All Implemented Interfaces:
Serializable
,Comparable<ElementEventType>
This describes the events that an item can encounter.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBackground expirationExpiration discovered on requestBackground expirationExpiration discovered on requestMoving from memory to disk (what if no disk?)Moving from memory to disk (what if no disk?)Moving from memory to disk, but item is not spoolable -
Method Summary
Modifier and TypeMethodDescriptionstatic ElementEventType
Returns the enum constant of this type with the specified name.static ElementEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EXCEEDED_MAXLIFE_BACKGROUND
Background expiration -
EXCEEDED_MAXLIFE_ONREQUEST
Expiration discovered on request -
EXCEEDED_IDLETIME_BACKGROUND
Background expiration -
EXCEEDED_IDLETIME_ONREQUEST
Expiration discovered on request -
SPOOLED_DISK_AVAILABLE
Moving from memory to disk (what if no disk?) -
SPOOLED_DISK_NOT_AVAILABLE
Moving from memory to disk (what if no disk?) -
SPOOLED_NOT_ALLOWED
Moving from memory to disk, but item is not spoolable
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-