org.apache.jcs.auxiliary.lateral
Enum LateralCommand

java.lang.Object
  extended by java.lang.Enum<LateralCommand>
      extended by org.apache.jcs.auxiliary.lateral.LateralCommand
All Implemented Interfaces:
Serializable, Comparable<LateralCommand>

public enum LateralCommand
extends Enum<LateralCommand>

Enumeration of the available lateral commands


Enum Constant Summary
DISPOSE
          The command for disposing the cache.
GET
          Command to return an object.
GET_GROUP_KEYS
          Command to get all group keys
GET_GROUP_NAMES
          Command to get all group keys
GET_MATCHING
          Command to return an object.
REMOVE
          The command for removes
REMOVEALL
          The command instructing us to remove all
UPDATE
          The command for updates
 
Method Summary
static LateralCommand valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LateralCommand[] 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

UPDATE

public static final LateralCommand UPDATE
The command for updates


REMOVE

public static final LateralCommand REMOVE
The command for removes


REMOVEALL

public static final LateralCommand REMOVEALL
The command instructing us to remove all


DISPOSE

public static final LateralCommand DISPOSE
The command for disposing the cache.


GET

public static final LateralCommand GET
Command to return an object.


GET_MATCHING

public static final LateralCommand GET_MATCHING
Command to return an object.


GET_GROUP_KEYS

public static final LateralCommand GET_GROUP_KEYS
Command to get all group keys


GET_GROUP_NAMES

public static final LateralCommand GET_GROUP_NAMES
Command to get all group keys

Method Detail

values

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

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

valueOf

public static LateralCommand 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.