public class TouchCommand extends AbstractTextCommand
type| Constructor and Description |
|---|
TouchCommand(TextCommandConstants.TextCommandType type,
String key,
int expiration,
boolean noReply) |
| Modifier and Type | Method and Description |
|---|---|
int |
getExpiration() |
String |
getKey() |
boolean |
readFrom(ByteBuffer src) |
void |
setResponse(byte[] value) |
boolean |
shouldReply() |
boolean |
writeTo(ByteBuffer dst) |
getReadHandler, getRequestId, getType, getWriteHandler, init, isUrgent, toStringpublic TouchCommand(TextCommandConstants.TextCommandType type, String key, int expiration, boolean noReply)
public boolean writeTo(ByteBuffer dst)
public boolean readFrom(ByteBuffer src)
public boolean shouldReply()
shouldReply in interface TextCommandshouldReply in class AbstractTextCommandpublic String getKey()
public int getExpiration()
public void setResponse(byte[] value)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.