public class GetCommand extends AbstractTextCommand
TextCommandConstants.TextCommandTypetypeCLIENT_ERROR, DELETED, END, ERROR, FLAG_ZERO, MONTH_SECONDS, NOT_FOUND, NOT_STORED, RETURN, RETURN_END, SERVER_ERROR, SPACE, STORED, VALUE_SPACE| Constructor and Description |
|---|
GetCommand(String key) |
GetCommand(TextCommandConstants.TextCommandType type,
String key) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doRead(ByteBuffer cb) |
String |
getKey() |
void |
setValue(MemcacheEntry entry,
boolean singleGet) |
String |
toString() |
boolean |
writeTo(ByteBuffer bb) |
getRequestId, getSocketTextReader, getSocketTextWriter, getType, init, onEnqueue, shouldReplypublic GetCommand(TextCommandConstants.TextCommandType type, String key)
public GetCommand(String key)
public String getKey()
public boolean doRead(ByteBuffer cb)
public void setValue(MemcacheEntry entry, boolean singleGet)
public boolean writeTo(ByteBuffer bb)
public String toString()
toString in class AbstractTextCommandCopyright © 2013 Hazelcast, Inc.. All rights reserved.