org.apache.jcs.auxiliary.remote.value
Enum RemoteRequestType

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

public enum RemoteRequestType
extends Enum<RemoteRequestType>

The different types of requests


Enum Constant Summary
ALIVE_CHECK
          Alive check request type.
DISPOSE
          Dispose request type.
GET
          Get request type.
GET_GROUP_KEYS
          Get group keys request type.
GET_GROUP_NAMES
          Get group keys request type.
GET_MATCHING
          Get Matching request type.
GET_MULTIPLE
          Get Multiple request type.
REMOVE
          Remove request type.
REMOVE_ALL
          Remove All request type.
UPDATE
          Update request type.
 
Method Summary
static RemoteRequestType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RemoteRequestType[] 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

ALIVE_CHECK

public static final RemoteRequestType ALIVE_CHECK
Alive check request type.


GET

public static final RemoteRequestType GET
Get request type.


GET_MULTIPLE

public static final RemoteRequestType GET_MULTIPLE
Get Multiple request type.


GET_MATCHING

public static final RemoteRequestType GET_MATCHING
Get Matching request type.


UPDATE

public static final RemoteRequestType UPDATE
Update request type.


REMOVE

public static final RemoteRequestType REMOVE
Remove request type.


REMOVE_ALL

public static final RemoteRequestType REMOVE_ALL
Remove All request type.


GET_GROUP_KEYS

public static final RemoteRequestType GET_GROUP_KEYS
Get group keys request type.


DISPOSE

public static final RemoteRequestType DISPOSE
Dispose request type.


GET_GROUP_NAMES

public static final RemoteRequestType GET_GROUP_NAMES
Get group keys request type.

Method Detail

values

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

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

valueOf

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