com.scaleoutsoftware.soss.client
Enum NamedCacheObjectExpiredEventArgs.NamedCacheObjectDisposition

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

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

Enumeration used to indicate to StateServer the disposition of an expired object upon return from a StateServer event handler.


Enum Constant Summary
Remove
          The client would like the object removed from the store.
Save
          The client would like to keep the object in the store.
 
Method Summary
 ObjectDisposition value()
           
static NamedCacheObjectExpiredEventArgs.NamedCacheObjectDisposition valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NamedCacheObjectExpiredEventArgs.NamedCacheObjectDisposition[] 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

Save

public static final NamedCacheObjectExpiredEventArgs.NamedCacheObjectDisposition Save
The client would like to keep the object in the store.


Remove

public static final NamedCacheObjectExpiredEventArgs.NamedCacheObjectDisposition Remove
The client would like the object removed from the store.

Method Detail

values

public static NamedCacheObjectExpiredEventArgs.NamedCacheObjectDisposition[] 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.NamedCacheObjectDisposition c : NamedCacheObjectExpiredEventArgs.NamedCacheObjectDisposition.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.NamedCacheObjectDisposition 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

value

public ObjectDisposition value()


Copyright (C) 2007-2012 ScaleOut Software, Inc.