public class SetCommand extends AbstractTextCommand
type| Constructor and Description |
|---|
SetCommand(TextCommandConstants.TextCommandType type,
String key,
int flag,
int expiration,
int valueLen,
boolean noreply) |
| Modifier and Type | Method and Description |
|---|---|
int |
getExpiration() |
int |
getFlag() |
String |
getKey() |
byte[] |
getValue() |
boolean |
readFrom(ByteBuffer src) |
void |
setResponse(byte[] value) |
boolean |
shouldReply() |
String |
toString() |
boolean |
writeTo(ByteBuffer dst) |
getDecoder, getEncoder, getFrameLength, getRequestId, getType, init, isUrgentpublic SetCommand(TextCommandConstants.TextCommandType type, String key, int flag, int expiration, int valueLen, boolean noreply)
public boolean readFrom(ByteBuffer src)
public void setResponse(byte[] value)
public boolean writeTo(ByteBuffer dst)
public boolean shouldReply()
shouldReply in interface TextCommandshouldReply in class AbstractTextCommandpublic int getExpiration()
public String getKey()
public byte[] getValue()
public int getFlag()
public String toString()
toString in class AbstractTextCommandCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.