|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ElementEventType>
org.apache.jcs.engine.control.event.behavior.ElementEventType
public enum ElementEventType
This describes the events that an item can encounter.
| Enum Constant Summary | |
|---|---|
EXCEEDED_IDLETIME_BACKGROUND
Background expiration |
|
EXCEEDED_IDLETIME_ONREQUEST
Expiration discovered on request |
|
EXCEEDED_MAXLIFE_BACKGROUND
Background expiration |
|
EXCEEDED_MAXLIFE_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 Summary | |
|---|---|
static ElementEventType |
valueOf(String name)
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. |
| 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 |
|---|
public static final ElementEventType EXCEEDED_MAXLIFE_BACKGROUND
public static final ElementEventType EXCEEDED_MAXLIFE_ONREQUEST
public static final ElementEventType EXCEEDED_IDLETIME_BACKGROUND
public static final ElementEventType EXCEEDED_IDLETIME_ONREQUEST
public static final ElementEventType SPOOLED_DISK_AVAILABLE
public static final ElementEventType SPOOLED_DISK_NOT_AVAILABLE
public static final ElementEventType SPOOLED_NOT_ALLOWED
| Method Detail |
|---|
public static ElementEventType[] values()
for (ElementEventType c : ElementEventType.values()) System.out.println(c);
public static ElementEventType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||