public static enum MemcachedConnector.Request.Type extends java.lang.Enum<MemcachedConnector.Request.Type>
限定符和类型 | 方法和说明 |
---|---|
static MemcachedConnector.Request.Type |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static MemcachedConnector.Request.Type[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MemcachedConnector.Request.Type SET
public static final MemcachedConnector.Request.Type ADD
public static final MemcachedConnector.Request.Type REPLACE
public static final MemcachedConnector.Request.Type PREPEND
public static final MemcachedConnector.Request.Type APPEND
public static final MemcachedConnector.Request.Type CAS
public static final MemcachedConnector.Request.Type INCR
public static final MemcachedConnector.Request.Type DECR
public static final MemcachedConnector.Request.Type GET
public static final MemcachedConnector.Request.Type GETS
public static final MemcachedConnector.Request.Type DELETE
public static final MemcachedConnector.Request.Type STAT
public static final MemcachedConnector.Request.Type STATS
public static MemcachedConnector.Request.Type[] values()
for (MemcachedConnector.Request.Type c : MemcachedConnector.Request.Type.values()) System.out.println(c);
public static MemcachedConnector.Request.Type valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值