org.apache.jcs.engine.control.event.behavior
Enum ElementEventType

java.lang.Object
  extended by java.lang.Enum<ElementEventType>
      extended by org.apache.jcs.engine.control.event.behavior.ElementEventType
All Implemented Interfaces:
Serializable, Comparable<ElementEventType>

public enum ElementEventType
extends 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

EXCEEDED_MAXLIFE_BACKGROUND

public static final ElementEventType EXCEEDED_MAXLIFE_BACKGROUND
Background expiration


EXCEEDED_MAXLIFE_ONREQUEST

public static final ElementEventType EXCEEDED_MAXLIFE_ONREQUEST
Expiration discovered on request


EXCEEDED_IDLETIME_BACKGROUND

public static final ElementEventType EXCEEDED_IDLETIME_BACKGROUND
Background expiration


EXCEEDED_IDLETIME_ONREQUEST

public static final ElementEventType EXCEEDED_IDLETIME_ONREQUEST
Expiration discovered on request


SPOOLED_DISK_AVAILABLE

public static final ElementEventType SPOOLED_DISK_AVAILABLE
Moving from memory to disk (what if no disk?)


SPOOLED_DISK_NOT_AVAILABLE

public static final ElementEventType SPOOLED_DISK_NOT_AVAILABLE
Moving from memory to disk (what if no disk?)


SPOOLED_NOT_ALLOWED

public static final ElementEventType SPOOLED_NOT_ALLOWED
Moving from memory to disk, but item is not spoolable

Method Detail

values

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

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

valueOf

public static ElementEventType 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


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.