public class GetCommand extends AbstractTextCommand
TextCommandConstants.TextCommandType
type
CLIENT_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, shouldReply
public 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 AbstractTextCommand
Copyright © 2013 Hazelcast, Inc.. All rights reserved.