Package org.infinispan.server.memcached
Enum MemcachedOperation
- java.lang.Object
-
- java.lang.Enum<MemcachedOperation>
-
- org.infinispan.server.memcached.MemcachedOperation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MemcachedOperation>
public enum MemcachedOperation extends java.lang.Enum<MemcachedOperation>
Memcached operations.- Since:
- 4.1
- Author:
- Galder ZamarreƱo
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MemcachedOperation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MemcachedOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PutRequest
public static final MemcachedOperation PutRequest
-
TouchRequest
public static final MemcachedOperation TouchRequest
-
PutIfAbsentRequest
public static final MemcachedOperation PutIfAbsentRequest
-
ReplaceRequest
public static final MemcachedOperation ReplaceRequest
-
ReplaceIfUnmodifiedRequest
public static final MemcachedOperation ReplaceIfUnmodifiedRequest
-
GetRequest
public static final MemcachedOperation GetRequest
-
GetWithVersionRequest
public static final MemcachedOperation GetWithVersionRequest
-
RemoveRequest
public static final MemcachedOperation RemoveRequest
-
StatsRequest
public static final MemcachedOperation StatsRequest
-
AppendRequest
public static final MemcachedOperation AppendRequest
-
PrependRequest
public static final MemcachedOperation PrependRequest
-
IncrementRequest
public static final MemcachedOperation IncrementRequest
-
DecrementRequest
public static final MemcachedOperation DecrementRequest
-
FlushAllRequest
public static final MemcachedOperation FlushAllRequest
-
VersionRequest
public static final MemcachedOperation VersionRequest
-
VerbosityRequest
public static final MemcachedOperation VerbosityRequest
-
QuitRequest
public static final MemcachedOperation QuitRequest
-
-
Method Detail
-
values
public static MemcachedOperation[] 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 (MemcachedOperation c : MemcachedOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MemcachedOperation valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-