public interface TextCommand extends TextCommandConstants, SocketWritable
TextCommandConstants.TextCommandType
CLIENT_ERROR, DELETED, END, ERROR, FLAG_ZERO, MONTH_SECONDS, NOT_FOUND, NOT_STORED, RETURN, RETURN_END, SERVER_ERROR, SPACE, STORED, VALUE_SPACE
Modifier and Type | Method and Description |
---|---|
boolean |
doRead(ByteBuffer cb) |
long |
getRequestId() |
SocketTextReader |
getSocketTextReader() |
SocketTextWriter |
getSocketTextWriter() |
TextCommandConstants.TextCommandType |
getType() |
void |
init(SocketTextReader socketTextReader,
long requestId) |
boolean |
shouldReply() |
boolean |
writeTo(ByteBuffer bb) |
onEnqueue
boolean doRead(ByteBuffer cb)
TextCommandConstants.TextCommandType getType()
void init(SocketTextReader socketTextReader, long requestId)
SocketTextReader getSocketTextReader()
SocketTextWriter getSocketTextWriter()
long getRequestId()
boolean shouldReply()
boolean writeTo(ByteBuffer bb)
Copyright © 2013 Hazelcast, Inc.. All rights reserved.