org.jboss.cache.eviction
Enum EvictionEventType

java.lang.Object
  extended by java.lang.Enum<EvictionEventType>
      extended by org.jboss.cache.eviction.EvictionEventType
All Implemented Interfaces:
Serializable, Comparable<EvictionEventType>

Deprecated. left here for old interfaces. Use EvictionEvent.Type instead.

@Deprecated
public enum EvictionEventType
extends Enum<EvictionEventType>


Enum Constant Summary
ADD_ELEMENT_EVENT
          Deprecated. 
ADD_NODE_EVENT
          Deprecated. 
MARK_IN_USE_EVENT
          Deprecated. 
REMOVE_ELEMENT_EVENT
          Deprecated. 
REMOVE_NODE_EVENT
          Deprecated. 
UNMARK_USE_EVENT
          Deprecated. 
VISIT_NODE_EVENT
          Deprecated. 
 
Method Summary
static EvictionEventType valueOf(String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static EvictionEventType[] values()
          Deprecated. Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADD_NODE_EVENT

@Deprecated
public static final EvictionEventType ADD_NODE_EVENT
Deprecated. 

REMOVE_NODE_EVENT

@Deprecated
public static final EvictionEventType REMOVE_NODE_EVENT
Deprecated. 

VISIT_NODE_EVENT

@Deprecated
public static final EvictionEventType VISIT_NODE_EVENT
Deprecated. 

ADD_ELEMENT_EVENT

@Deprecated
public static final EvictionEventType ADD_ELEMENT_EVENT
Deprecated. 

REMOVE_ELEMENT_EVENT

@Deprecated
public static final EvictionEventType REMOVE_ELEMENT_EVENT
Deprecated. 

MARK_IN_USE_EVENT

@Deprecated
public static final EvictionEventType MARK_IN_USE_EVENT
Deprecated. 

UNMARK_USE_EVENT

@Deprecated
public static final EvictionEventType UNMARK_USE_EVENT
Deprecated. 
Method Detail

values

public static final EvictionEventType[] values()
Deprecated. 
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(EvictionEventType c : EvictionEventType.values())
        System.out.println(c);

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

valueOf

public static EvictionEventType valueOf(String name)
Deprecated. 
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


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.