public enum CuckooCommand extends Enum<CuckooCommand> implements redis.clients.jedis.commands.ProtocolCommand
Enum Constant and Description |
---|
ADD |
ADDNX |
COUNT |
DEL |
EXIST |
INFO |
INSERT |
INSERTNX |
LOADCHUNK |
RESERVE |
SCANDUMP |
Modifier and Type | Method and Description |
---|---|
byte[] |
getRaw() |
static CuckooCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CuckooCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CuckooCommand RESERVE
public static final CuckooCommand ADD
public static final CuckooCommand ADDNX
public static final CuckooCommand INSERT
public static final CuckooCommand INSERTNX
public static final CuckooCommand EXIST
public static final CuckooCommand DEL
public static final CuckooCommand COUNT
public static final CuckooCommand SCANDUMP
public static final CuckooCommand LOADCHUNK
public static final CuckooCommand INFO
public static CuckooCommand[] values()
for (CuckooCommand c : CuckooCommand.values()) System.out.println(c);
public static CuckooCommand valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte[] getRaw()
getRaw
in interface redis.clients.jedis.args.Rawable
Copyright © 2021 RedisLabs. All rights reserved.