redis.clients.jedis
Class Protocol

java.lang.Object
  extended by redis.clients.jedis.Protocol

public final class Protocol
extends Object


Nested Class Summary
static class Protocol.Command
           
static class Protocol.Keyword
           
 
Field Summary
static byte ASTERISK_BYTE
           
static String CHARSET
           
static byte COLON_BYTE
           
static int DEFAULT_DATABASE
           
static int DEFAULT_PORT
           
static int DEFAULT_TIMEOUT
           
static byte DOLLAR_BYTE
           
static byte MINUS_BYTE
           
static byte PLUS_BYTE
           
 
Method Summary
static Object read(RedisInputStream is)
           
static void sendCommand(RedisOutputStream os, Protocol.Command command, byte[]... args)
           
static byte[] toByteArray(double value)
           
static byte[] toByteArray(int value)
           
static byte[] toByteArray(long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values

DEFAULT_TIMEOUT

public static final int DEFAULT_TIMEOUT
See Also:
Constant Field Values

DEFAULT_DATABASE

public static final int DEFAULT_DATABASE
See Also:
Constant Field Values

CHARSET

public static final String CHARSET
See Also:
Constant Field Values

DOLLAR_BYTE

public static final byte DOLLAR_BYTE
See Also:
Constant Field Values

ASTERISK_BYTE

public static final byte ASTERISK_BYTE
See Also:
Constant Field Values

PLUS_BYTE

public static final byte PLUS_BYTE
See Also:
Constant Field Values

MINUS_BYTE

public static final byte MINUS_BYTE
See Also:
Constant Field Values

COLON_BYTE

public static final byte COLON_BYTE
See Also:
Constant Field Values
Method Detail

sendCommand

public static void sendCommand(RedisOutputStream os,
                               Protocol.Command command,
                               byte[]... args)

read

public static Object read(RedisInputStream is)

toByteArray

public static final byte[] toByteArray(int value)

toByteArray

public static final byte[] toByteArray(long value)

toByteArray

public static final byte[] toByteArray(double value)


Copyright © 2012. All Rights Reserved.