public class TextProtocolUtil$ extends Object
Modifier and Type | Field and Description |
---|---|
static TextProtocolUtil$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
TextProtocolUtil$() |
Modifier and Type | Method and Description |
---|---|
String |
CHARSET() |
String |
CLIENT_ERROR_BAD_FORMAT() |
byte[] |
concat(byte[] a,
byte[] b) |
int |
CR() |
String |
CRLF() |
byte[] |
CRLFBytes() |
byte[] |
DELETED() |
int |
END_SIZE() |
byte[] |
END() |
byte[] |
ERROR() |
byte[] |
EXISTS() |
String |
extractString(ByteArrayOutputStream byteBuffer) |
int |
LF() |
scala.math.BigInt |
MAX_UNSIGNED_LONG() |
scala.math.BigInt |
MIN_UNSIGNED() |
byte[] |
NOT_FOUND() |
byte[] |
NOT_STORED() |
byte[] |
OK() |
int |
readableBytes(org.jboss.netty.buffer.ChannelBuffer buffer) |
String |
readDiscardedLine(org.jboss.netty.buffer.ChannelBuffer buffer) |
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.
|
scala.collection.Seq<String> |
readSplitLine(org.jboss.netty.buffer.ChannelBuffer buffer) |
String |
SERVER_ERROR() |
void |
skipLine(org.jboss.netty.buffer.ChannelBuffer buffer) |
int |
SP() |
byte[] |
STORED() |
int |
VALUE_SIZE() |
byte[] |
VALUE() |
byte[] |
ZERO() |
public static final TextProtocolUtil$ MODULE$
public String CRLF()
public byte[] CRLFBytes()
public byte[] END()
public int END_SIZE()
public byte[] DELETED()
public byte[] NOT_FOUND()
public byte[] EXISTS()
public byte[] STORED()
public byte[] NOT_STORED()
public byte[] OK()
public byte[] ERROR()
public String CLIENT_ERROR_BAD_FORMAT()
public String SERVER_ERROR()
public byte[] VALUE()
public int VALUE_SIZE()
public byte[] ZERO()
public int SP()
public int CR()
public int LF()
public scala.math.BigInt MAX_UNSIGNED_LONG()
public scala.math.BigInt MIN_UNSIGNED()
public String CHARSET()
public boolean readElement(org.jboss.netty.buffer.ChannelBuffer buffer, OutputStream byteBuffer)
public String extractString(ByteArrayOutputStream byteBuffer)
public String readDiscardedLine(org.jboss.netty.buffer.ChannelBuffer buffer)
public int readableBytes(org.jboss.netty.buffer.ChannelBuffer buffer)
public void skipLine(org.jboss.netty.buffer.ChannelBuffer buffer)
public byte[] concat(byte[] a, byte[] b)
public scala.collection.Seq<String> readSplitLine(org.jboss.netty.buffer.ChannelBuffer buffer)
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.