public class GetCommand extends AbstractTextCommand
type| Constructor and Description |
|---|
GetCommand(String key) |
GetCommand(TextCommandConstants.TextCommandType type,
String key) |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
boolean |
readFrom(ByteBuffer cb) |
void |
setValue(MemcacheEntry entry,
boolean singleGet) |
String |
toString() |
boolean |
writeTo(ByteBuffer bb)
Asks the SocketWritable to write its content to the destination ByteBuffer.
|
getRequestId, getSocketTextReader, getSocketTextWriter, getType, init, isUrgent, shouldReplypublic GetCommand(TextCommandConstants.TextCommandType type, String key)
public GetCommand(String key)
public String getKey()
public boolean readFrom(ByteBuffer cb)
public void setValue(MemcacheEntry entry, boolean singleGet)
public boolean writeTo(ByteBuffer bb)
SocketWritablebb - the ByteBuffer to write to.public String toString()
toString in class AbstractTextCommandCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.