com.scaleoutsoftware.soss.client
Enum NamedCacheObjectExpiredEventArgs.NamedCacheEventCode

java.lang.Object
  extended by java.lang.Enum<NamedCacheObjectExpiredEventArgs.NamedCacheEventCode>
      extended by com.scaleoutsoftware.soss.client.NamedCacheObjectExpiredEventArgs.NamedCacheEventCode
All Implemented Interfaces:
Serializable, Comparable<NamedCacheObjectExpiredEventArgs.NamedCacheEventCode>
Enclosing class:
NamedCacheObjectExpiredEventArgs

public static enum NamedCacheObjectExpiredEventArgs.NamedCacheEventCode
extends Enum<NamedCacheObjectExpiredEventArgs.NamedCacheEventCode>

Enumeration containing the event codes, which can be used to determine the reason why the object was expired and the event was fired.


Enum Constant Summary
Dependency
          An object is being removed due to a dependency change.
LowMemory
          A preemptable object was removed from memory due to a low memory condition.
ObjectTimeout
          An object's timeout expired.
 
Method Summary
static NamedCacheObjectExpiredEventArgs.NamedCacheEventCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NamedCacheObjectExpiredEventArgs.NamedCacheEventCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LowMemory

public static final NamedCacheObjectExpiredEventArgs.NamedCacheEventCode LowMemory
A preemptable object was removed from memory due to a low memory condition.


ObjectTimeout

public static final NamedCacheObjectExpiredEventArgs.NamedCacheEventCode ObjectTimeout
An object's timeout expired.


Dependency

public static final NamedCacheObjectExpiredEventArgs.NamedCacheEventCode Dependency
An object is being removed due to a dependency change.

Method Detail

values

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

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

valueOf

public static NamedCacheObjectExpiredEventArgs.NamedCacheEventCode 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 (C) 2007-2012 ScaleOut Software, Inc.