public class GetCommand extends AbstractTextCommand
Modifier and Type | Field and Description |
---|---|
protected String |
key |
type
Constructor and Description |
---|
GetCommand(String key) |
GetCommand(TextCommandConstants.TextCommandType type,
String key) |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
boolean |
readFrom(ByteBuffer src) |
void |
setValue(MemcacheEntry entry) |
String |
toString() |
boolean |
writeTo(ByteBuffer dst) |
getReadHandler, getRequestId, getType, getWriteHandler, init, isUrgent, shouldReply
protected final String key
public GetCommand(TextCommandConstants.TextCommandType type, String key)
public GetCommand(String key)
public String getKey()
public boolean readFrom(ByteBuffer src)
public void setValue(MemcacheEntry entry)
public boolean writeTo(ByteBuffer dst)
public String toString()
toString
in class AbstractTextCommand
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.