public class TextProtocolUtil extends Object
Constructor and Description |
---|
TextProtocolUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
CHARSET() |
static String |
CLIENT_ERROR_BAD_FORMAT() |
static byte[] |
concat(byte[] a,
byte[] b) |
static int |
CR() |
static String |
CRLF() |
static byte[] |
CRLFBytes() |
static byte[] |
DELETED() |
static int |
END_SIZE() |
static byte[] |
END() |
static byte[] |
ERROR() |
static byte[] |
EXISTS() |
static String |
extractString(ByteArrayOutputStream byteBuffer) |
static int |
LF() |
static scala.math.BigInt |
MAX_UNSIGNED_LONG() |
static scala.math.BigInt |
MIN_UNSIGNED() |
static byte[] |
NOT_FOUND() |
static byte[] |
NOT_STORED() |
static byte[] |
OK() |
static int |
readableBytes(org.jboss.netty.buffer.ChannelBuffer buffer) |
static String |
readDiscardedLine(org.jboss.netty.buffer.ChannelBuffer buffer) |
static boolean |
readElement(org.jboss.netty.buffer.ChannelBuffer buffer,
OutputStream byteBuffer)
In the particular case of Memcached, the end of operation/command
is signaled by "\r\n" characters.
|
static scala.collection.Seq<String> |
readSplitLine(org.jboss.netty.buffer.ChannelBuffer buffer) |
static String |
SERVER_ERROR() |
static void |
skipLine(org.jboss.netty.buffer.ChannelBuffer buffer) |
static int |
SP() |
static byte[] |
STORED() |
static int |
VALUE_SIZE() |
static byte[] |
VALUE() |
static byte[] |
ZERO() |
public static String CRLF()
public static byte[] CRLFBytes()
public static byte[] END()
public static int END_SIZE()
public static byte[] DELETED()
public static byte[] NOT_FOUND()
public static byte[] EXISTS()
public static byte[] STORED()
public static byte[] NOT_STORED()
public static byte[] OK()
public static byte[] ERROR()
public static String CLIENT_ERROR_BAD_FORMAT()
public static String SERVER_ERROR()
public static byte[] VALUE()
public static int VALUE_SIZE()
public static byte[] ZERO()
public static int SP()
public static int CR()
public static int LF()
public static scala.math.BigInt MAX_UNSIGNED_LONG()
public static scala.math.BigInt MIN_UNSIGNED()
public static String CHARSET()
public static boolean readElement(org.jboss.netty.buffer.ChannelBuffer buffer, OutputStream byteBuffer)
public static String extractString(ByteArrayOutputStream byteBuffer)
public static String readDiscardedLine(org.jboss.netty.buffer.ChannelBuffer buffer)
public static int readableBytes(org.jboss.netty.buffer.ChannelBuffer buffer)
public static void skipLine(org.jboss.netty.buffer.ChannelBuffer buffer)
public static byte[] concat(byte[] a, byte[] b)
public static scala.collection.Seq<String> readSplitLine(org.jboss.netty.buffer.ChannelBuffer buffer)
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.