public enum KeyEnum extends Enum<KeyEnum>
| 枚举常量和说明 |
|---|
COLLECT_TIMER |
KV_KEY |
KV_TIMER |
KV_TTL |
LIST |
LIST_VALUE |
MAP |
MAP_KEY |
SEQ |
SET |
SET_V |
ZSET |
ZSET_S |
ZSET_V |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
getBytes() |
String |
getKey() |
static KeyEnum |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static KeyEnum[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final KeyEnum KV_KEY
public static final KeyEnum KV_TTL
public static final KeyEnum LIST
public static final KeyEnum LIST_VALUE
public static final KeyEnum MAP
public static final KeyEnum MAP_KEY
public static final KeyEnum SET
public static final KeyEnum SET_V
public static final KeyEnum SEQ
public static final KeyEnum ZSET
public static final KeyEnum ZSET_S
public static final KeyEnum ZSET_V
public static final KeyEnum COLLECT_TIMER
public static final KeyEnum KV_TIMER
public static KeyEnum[] values()
for (KeyEnum c : KeyEnum.values()) System.out.println(c);
public static KeyEnum valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getKey()
public byte[] getBytes()
Copyright © 2019. All rights reserved.