public enum RedisCommand extends Enum<RedisCommand>
Modifier and Type | Method and Description |
---|---|
char[] |
getArgTypes()
Gets the command argument types as a character array.
|
int |
getRepeatableFromIndex()
Gets the repeatable from index int argTypes from which the argTypes are repeated or -1 if there is a fixed list of arguments.
|
boolean |
isBlocking()
Identifies blocking commands like BLPOP
|
boolean |
isScriptCommand()
Identifies if the command is one of the SCRIPT commands, EVAL, EVALSHA, EVALCHECK or SCRIPT.
|
boolean |
isStateful()
Identifies if the command is stateful i.e the command has an effect on subsequent commands run on the same connections.
|
boolean |
isUseKeyHandlerAsDefaultDataHandler()
Gets if Key Handler is to be used as the default data handler for this command.
|
static RedisCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisCommand APPEND
public static final RedisCommand AUTH
AsyncRedisFactory.setAuth(String, String)
to configure the password.public static final RedisCommand BGREWRITEAOF
public static final RedisCommand BGSAVE
public static final RedisCommand BITCOUNT
public static final RedisCommand BITOP
public static final RedisCommand BITPOS
public static final RedisCommand BLPOP
public static final RedisCommand BRPOP
public static final RedisCommand BRPOPLPUSH
public static final RedisCommand CLIENT
public static final RedisCommand CONFIG
public static final RedisCommand DBSIZE
public static final RedisCommand DECR
public static final RedisCommand DECRBY
public static final RedisCommand DEL
public static final RedisCommand DISCARD
public static final RedisCommand DUMP
public static final RedisCommand ECHO
public static final RedisCommand EVAL
public static final RedisCommand EVALCHECK
Script
object. Using this
command saves the task of ensuring that a Script is present in the Redis server before calling an
EVALSHA since it handles it internally.public static final RedisCommand EVALSHA
public static final RedisCommand EXEC
public static final RedisCommand EXISTS
public static final RedisCommand EXPIRE
public static final RedisCommand EXPIREAT
public static final RedisCommand FLUSHALL
public static final RedisCommand FLUSHDB
public static final RedisCommand GET
public static final RedisCommand GETBIT
public static final RedisCommand GETRANGE
public static final RedisCommand GETSET
public static final RedisCommand HDEL
public static final RedisCommand HEXISTS
public static final RedisCommand HGET
public static final RedisCommand HGETALL
public static final RedisCommand HINCRBY
public static final RedisCommand HINCRBYFLOAT
public static final RedisCommand HKEYS
public static final RedisCommand HLEN
public static final RedisCommand HMGET
public static final RedisCommand HMSET
public static final RedisCommand HSCAN
public static final RedisCommand HSET
public static final RedisCommand HSETNX
public static final RedisCommand HVALS
public static final RedisCommand INCR
public static final RedisCommand INCRBY
public static final RedisCommand INCRBYFLOAT
public static final RedisCommand INFO
public static final RedisCommand KEYS
public static final RedisCommand LASTSAVE
public static final RedisCommand LINDEX
public static final RedisCommand LINSERT
public static final RedisCommand LLEN
public static final RedisCommand LPOP
public static final RedisCommand LPUSH
public static final RedisCommand LPUSHX
public static final RedisCommand LRANGE
public static final RedisCommand LREM
public static final RedisCommand LSET
public static final RedisCommand LTRIM
public static final RedisCommand MGET
public static final RedisCommand MIGRATE
public static final RedisCommand MOVE
public static final RedisCommand MSET
public static final RedisCommand MSETNX
public static final RedisCommand MULTI
public static final RedisCommand OBJECT
public static final RedisCommand PERSIST
public static final RedisCommand PEXPIRE
public static final RedisCommand PEXPIREAT
public static final RedisCommand PFADD
public static final RedisCommand PFCOUNT
public static final RedisCommand PFMERGE
public static final RedisCommand PING
public static final RedisCommand PSETEX
public static final RedisCommand PSUBSCRIBE
public static final RedisCommand PTTL
public static final RedisCommand PUBLISH
public static final RedisCommand PUBSUB
public static final RedisCommand PUNSUBSCRIBE
public static final RedisCommand RANDOMKEY
public static final RedisCommand RENAME
public static final RedisCommand RENAMENX
public static final RedisCommand RESTORE
public static final RedisCommand RPOP
public static final RedisCommand RPOPLPUSH
public static final RedisCommand RPUSH
public static final RedisCommand RPUSHX
public static final RedisCommand SADD
public static final RedisCommand SAVE
public static final RedisCommand SCAN
public static final RedisCommand SCARD
public static final RedisCommand SCRIPT
public static final RedisCommand SDIFF
public static final RedisCommand SDIFFSTORE
public static final RedisCommand SELECT
public static final RedisCommand SET
public static final RedisCommand SETBIT
public static final RedisCommand SETEX
public static final RedisCommand SETNX
public static final RedisCommand SETRANGE
public static final RedisCommand SHUTDOWN
public static final RedisCommand SINTER
public static final RedisCommand SINTERSTORE
public static final RedisCommand SISMEMBER
public static final RedisCommand SLAVEOF
public static final RedisCommand SLOWLOG
public static final RedisCommand SMEMBERS
public static final RedisCommand SMOVE
public static final RedisCommand SORT
public static final RedisCommand SPOP
public static final RedisCommand SRANDMEMBER
public static final RedisCommand SREM
public static final RedisCommand SSCAN
public static final RedisCommand STRLEN
public static final RedisCommand SUBSCRIBE
public static final RedisCommand SUNION
public static final RedisCommand SUNIONSTORE
public static final RedisCommand TIME
public static final RedisCommand TTL
public static final RedisCommand TYPE
public static final RedisCommand UNSUBSCRIBE
public static final RedisCommand UNWATCH
public static final RedisCommand WATCH
public static final RedisCommand ZADD
public static final RedisCommand ZCARD
public static final RedisCommand ZCOUNT
public static final RedisCommand ZINCRBY
public static final RedisCommand ZINTERSTORE
public static final RedisCommand ZLEXCOUNT
public static final RedisCommand ZRANGE
public static final RedisCommand ZRANGEBYLEX
public static final RedisCommand ZRANGEBYSCORE
public static final RedisCommand ZRANK
public static final RedisCommand ZREM
public static final RedisCommand ZREMRANGEBYLEX
public static final RedisCommand ZREMRANGEBYRANK
public static final RedisCommand ZREMRANGEBYSCORE
public static final RedisCommand ZREVRANGE
public static final RedisCommand ZREVRANGEBYSCORE
public static final RedisCommand ZREVRANK
public static final RedisCommand ZSCAN
public static final RedisCommand ZSCORE
public static final RedisCommand ZUNIONSTORE
public static RedisCommand[] values()
for (RedisCommand c : RedisCommand.values()) System.out.println(c);
public static RedisCommand 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 char[] getArgTypes()
public int getRepeatableFromIndex()
public boolean isUseKeyHandlerAsDefaultDataHandler()
public boolean isBlocking()
public boolean isStateful()
public boolean isScriptCommand()
Copyright © 2013- Suresh Mahalingam. All Rights Reserved.