redis.clients.jedis
Enum Protocol.Command

java.lang.Object
  extended by java.lang.Enum<Protocol.Command>
      extended by redis.clients.jedis.Protocol.Command
All Implemented Interfaces:
Serializable, Comparable<Protocol.Command>
Enclosing class:
Protocol

public static enum Protocol.Command
extends Enum<Protocol.Command>


Enum Constant Summary
APPEND
           
AUTH
           
BGREWRITEAOF
           
BGSAVE
           
BLPOP
           
BRPOP
           
BRPOPLPUSH
           
CONFIG
           
DBSIZE
           
DEBUG
           
DECR
           
DECRBY
           
DEL
           
DISCARD
           
ECHO
           
EVAL
           
EVALSHA
           
EXEC
           
EXISTS
           
EXPIRE
           
EXPIREAT
           
FLUSHALL
           
FLUSHDB
           
GET
           
GETBIT
           
GETRANGE
           
GETSET
           
HDEL
           
HEXISTS
           
HGET
           
HGETALL
           
HINCRBY
           
HKEYS
           
HLEN
           
HMGET
           
HMSET
           
HSET
           
HSETNX
           
HVALS
           
INCR
           
INCRBY
           
INFO
           
KEYS
           
LASTSAVE
           
LINDEX
           
LINSERT
           
LLEN
           
LPOP
           
LPUSH
           
LPUSHX
           
LRANGE
           
LREM
           
LSET
           
LTRIM
           
MGET
           
MONITOR
           
MOVE
           
MSET
           
MSETNX
           
MULTI
           
OBJECT
           
PERSIST
           
PING
           
PSUBSCRIBE
           
PUBLISH
           
PUNSUBSCRIBE
           
QUIT
           
RANDOMKEY
           
RENAME
           
RENAMENX
           
RENAMEX
           
RPOP
           
RPOPLPUSH
           
RPUSH
           
RPUSHX
           
SADD
           
SAVE
           
SCARD
           
SCRIPT
           
SDIFF
           
SDIFFSTORE
           
SELECT
           
SET
           
SETBIT
           
SETEX
           
SETNX
           
SETRANGE
           
SHUTDOWN
           
SINTER
           
SINTERSTORE
           
SISMEMBER
           
SLAVEOF
           
SLOWLOG
           
SMEMBERS
           
SMOVE
           
SORT
           
SPOP
           
SRANDMEMBER
           
SREM
           
STRLEN
           
SUBSCRIBE
           
SUBSTR
           
SUNION
           
SUNIONSTORE
           
SYNC
           
TTL
           
TYPE
           
UNSUBSCRIBE
           
UNWATCH
           
WATCH
           
ZADD
           
ZCARD
           
ZCOUNT
           
ZINCRBY
           
ZINTERSTORE
           
ZRANGE
           
ZRANGEBYSCORE
           
ZRANK
           
ZREM
           
ZREMRANGEBYRANK
           
ZREMRANGEBYSCORE
           
ZREVRANGE
           
ZREVRANGEBYSCORE
           
ZREVRANK
           
ZSCORE
           
ZUNIONSTORE
           
 
Field Summary
 byte[] raw
           
 
Method Summary
static Protocol.Command valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Protocol.Command[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PING

public static final Protocol.Command PING

SET

public static final Protocol.Command SET

GET

public static final Protocol.Command GET

QUIT

public static final Protocol.Command QUIT

EXISTS

public static final Protocol.Command EXISTS

DEL

public static final Protocol.Command DEL

TYPE

public static final Protocol.Command TYPE

FLUSHDB

public static final Protocol.Command FLUSHDB

KEYS

public static final Protocol.Command KEYS

RANDOMKEY

public static final Protocol.Command RANDOMKEY

RENAME

public static final Protocol.Command RENAME

RENAMENX

public static final Protocol.Command RENAMENX

RENAMEX

public static final Protocol.Command RENAMEX

DBSIZE

public static final Protocol.Command DBSIZE

EXPIRE

public static final Protocol.Command EXPIRE

EXPIREAT

public static final Protocol.Command EXPIREAT

TTL

public static final Protocol.Command TTL

SELECT

public static final Protocol.Command SELECT

MOVE

public static final Protocol.Command MOVE

FLUSHALL

public static final Protocol.Command FLUSHALL

GETSET

public static final Protocol.Command GETSET

MGET

public static final Protocol.Command MGET

SETNX

public static final Protocol.Command SETNX

SETEX

public static final Protocol.Command SETEX

MSET

public static final Protocol.Command MSET

MSETNX

public static final Protocol.Command MSETNX

DECRBY

public static final Protocol.Command DECRBY

DECR

public static final Protocol.Command DECR

INCRBY

public static final Protocol.Command INCRBY

INCR

public static final Protocol.Command INCR

APPEND

public static final Protocol.Command APPEND

SUBSTR

public static final Protocol.Command SUBSTR

HSET

public static final Protocol.Command HSET

HGET

public static final Protocol.Command HGET

HSETNX

public static final Protocol.Command HSETNX

HMSET

public static final Protocol.Command HMSET

HMGET

public static final Protocol.Command HMGET

HINCRBY

public static final Protocol.Command HINCRBY

HEXISTS

public static final Protocol.Command HEXISTS

HDEL

public static final Protocol.Command HDEL

HLEN

public static final Protocol.Command HLEN

HKEYS

public static final Protocol.Command HKEYS

HVALS

public static final Protocol.Command HVALS

HGETALL

public static final Protocol.Command HGETALL

RPUSH

public static final Protocol.Command RPUSH

LPUSH

public static final Protocol.Command LPUSH

LLEN

public static final Protocol.Command LLEN

LRANGE

public static final Protocol.Command LRANGE

LTRIM

public static final Protocol.Command LTRIM

LINDEX

public static final Protocol.Command LINDEX

LSET

public static final Protocol.Command LSET

LREM

public static final Protocol.Command LREM

LPOP

public static final Protocol.Command LPOP

RPOP

public static final Protocol.Command RPOP

RPOPLPUSH

public static final Protocol.Command RPOPLPUSH

SADD

public static final Protocol.Command SADD

SMEMBERS

public static final Protocol.Command SMEMBERS

SREM

public static final Protocol.Command SREM

SPOP

public static final Protocol.Command SPOP

SMOVE

public static final Protocol.Command SMOVE

SCARD

public static final Protocol.Command SCARD

SISMEMBER

public static final Protocol.Command SISMEMBER

SINTER

public static final Protocol.Command SINTER

SINTERSTORE

public static final Protocol.Command SINTERSTORE

SUNION

public static final Protocol.Command SUNION

SUNIONSTORE

public static final Protocol.Command SUNIONSTORE

SDIFF

public static final Protocol.Command SDIFF

SDIFFSTORE

public static final Protocol.Command SDIFFSTORE

SRANDMEMBER

public static final Protocol.Command SRANDMEMBER

ZADD

public static final Protocol.Command ZADD

ZRANGE

public static final Protocol.Command ZRANGE

ZREM

public static final Protocol.Command ZREM

ZINCRBY

public static final Protocol.Command ZINCRBY

ZRANK

public static final Protocol.Command ZRANK

ZREVRANK

public static final Protocol.Command ZREVRANK

ZREVRANGE

public static final Protocol.Command ZREVRANGE

ZCARD

public static final Protocol.Command ZCARD

ZSCORE

public static final Protocol.Command ZSCORE

MULTI

public static final Protocol.Command MULTI

DISCARD

public static final Protocol.Command DISCARD

EXEC

public static final Protocol.Command EXEC

WATCH

public static final Protocol.Command WATCH

UNWATCH

public static final Protocol.Command UNWATCH

SORT

public static final Protocol.Command SORT

BLPOP

public static final Protocol.Command BLPOP

BRPOP

public static final Protocol.Command BRPOP

AUTH

public static final Protocol.Command AUTH

SUBSCRIBE

public static final Protocol.Command SUBSCRIBE

PUBLISH

public static final Protocol.Command PUBLISH

UNSUBSCRIBE

public static final Protocol.Command UNSUBSCRIBE

PSUBSCRIBE

public static final Protocol.Command PSUBSCRIBE

PUNSUBSCRIBE

public static final Protocol.Command PUNSUBSCRIBE

ZCOUNT

public static final Protocol.Command ZCOUNT

ZRANGEBYSCORE

public static final Protocol.Command ZRANGEBYSCORE

ZREVRANGEBYSCORE

public static final Protocol.Command ZREVRANGEBYSCORE

ZREMRANGEBYRANK

public static final Protocol.Command ZREMRANGEBYRANK

ZREMRANGEBYSCORE

public static final Protocol.Command ZREMRANGEBYSCORE

ZUNIONSTORE

public static final Protocol.Command ZUNIONSTORE

ZINTERSTORE

public static final Protocol.Command ZINTERSTORE

SAVE

public static final Protocol.Command SAVE

BGSAVE

public static final Protocol.Command BGSAVE

BGREWRITEAOF

public static final Protocol.Command BGREWRITEAOF

LASTSAVE

public static final Protocol.Command LASTSAVE

SHUTDOWN

public static final Protocol.Command SHUTDOWN

INFO

public static final Protocol.Command INFO

MONITOR

public static final Protocol.Command MONITOR

SLAVEOF

public static final Protocol.Command SLAVEOF

CONFIG

public static final Protocol.Command CONFIG

STRLEN

public static final Protocol.Command STRLEN

SYNC

public static final Protocol.Command SYNC

LPUSHX

public static final Protocol.Command LPUSHX

PERSIST

public static final Protocol.Command PERSIST

RPUSHX

public static final Protocol.Command RPUSHX

ECHO

public static final Protocol.Command ECHO

LINSERT

public static final Protocol.Command LINSERT

DEBUG

public static final Protocol.Command DEBUG

BRPOPLPUSH

public static final Protocol.Command BRPOPLPUSH

SETBIT

public static final Protocol.Command SETBIT

GETBIT

public static final Protocol.Command GETBIT

SETRANGE

public static final Protocol.Command SETRANGE

GETRANGE

public static final Protocol.Command GETRANGE

EVAL

public static final Protocol.Command EVAL

EVALSHA

public static final Protocol.Command EVALSHA

SCRIPT

public static final Protocol.Command SCRIPT

SLOWLOG

public static final Protocol.Command SLOWLOG

OBJECT

public static final Protocol.Command OBJECT
Field Detail

raw

public final byte[] raw
Method Detail

values

public static Protocol.Command[] 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 (Protocol.Command c : Protocol.Command.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Protocol.Command valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2012. All Rights Reserved.