redis.clients.jedis
Enum Protocol.Keyword

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

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


Enum Constant Summary
AGGREGATE
           
ALPHA
           
ASC
           
BY
           
DESC
           
ENCODING
           
EXISTS
           
FLUSH
           
GET
           
IDLETIME
           
KILL
           
LEN
           
LIMIT
           
LOAD
           
MESSAGE
           
NO
           
NOSORT
           
OK
           
ONE
           
PMESSAGE
           
PSUBSCRIBE
           
PUNSUBSCRIBE
           
QUEUED
           
REFCOUNT
           
RESET
           
RESETSTAT
           
SET
           
STORE
           
SUBSCRIBE
           
UNSUBSCRIBE
           
WEIGHTS
           
WITHSCORES
           
 
Field Summary
 byte[] raw
           
 
Method Summary
static Protocol.Keyword valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Protocol.Keyword[] 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

AGGREGATE

public static final Protocol.Keyword AGGREGATE

ALPHA

public static final Protocol.Keyword ALPHA

ASC

public static final Protocol.Keyword ASC

BY

public static final Protocol.Keyword BY

DESC

public static final Protocol.Keyword DESC

GET

public static final Protocol.Keyword GET

LIMIT

public static final Protocol.Keyword LIMIT

MESSAGE

public static final Protocol.Keyword MESSAGE

NO

public static final Protocol.Keyword NO

NOSORT

public static final Protocol.Keyword NOSORT

PMESSAGE

public static final Protocol.Keyword PMESSAGE

PSUBSCRIBE

public static final Protocol.Keyword PSUBSCRIBE

PUNSUBSCRIBE

public static final Protocol.Keyword PUNSUBSCRIBE

OK

public static final Protocol.Keyword OK

ONE

public static final Protocol.Keyword ONE

QUEUED

public static final Protocol.Keyword QUEUED

SET

public static final Protocol.Keyword SET

STORE

public static final Protocol.Keyword STORE

SUBSCRIBE

public static final Protocol.Keyword SUBSCRIBE

UNSUBSCRIBE

public static final Protocol.Keyword UNSUBSCRIBE

WEIGHTS

public static final Protocol.Keyword WEIGHTS

WITHSCORES

public static final Protocol.Keyword WITHSCORES

RESETSTAT

public static final Protocol.Keyword RESETSTAT

RESET

public static final Protocol.Keyword RESET

FLUSH

public static final Protocol.Keyword FLUSH

EXISTS

public static final Protocol.Keyword EXISTS

LOAD

public static final Protocol.Keyword LOAD

KILL

public static final Protocol.Keyword KILL

LEN

public static final Protocol.Keyword LEN

REFCOUNT

public static final Protocol.Keyword REFCOUNT

ENCODING

public static final Protocol.Keyword ENCODING

IDLETIME

public static final Protocol.Keyword IDLETIME
Field Detail

raw

public final byte[] raw
Method Detail

values

public static Protocol.Keyword[] 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.Keyword c : Protocol.Keyword.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.Keyword 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.