public class IncrementCommand extends AbstractTextCommand
type
Constructor and Description |
---|
IncrementCommand(TextCommandConstants.TextCommandType type,
String key,
int value,
boolean noReply) |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
int |
getValue() |
boolean |
readFrom(ByteBuffer src) |
void |
setResponse(byte[] value) |
boolean |
shouldReply() |
boolean |
writeTo(ByteBuffer dst) |
getDecoder, getEncoder, getRequestId, getType, init, isUrgent, toString
public IncrementCommand(TextCommandConstants.TextCommandType type, String key, int value, boolean noReply)
public boolean writeTo(ByteBuffer dst)
public boolean readFrom(ByteBuffer src)
public boolean shouldReply()
shouldReply
in interface TextCommand
shouldReply
in class AbstractTextCommand
public String getKey()
public int getValue()
public void setResponse(byte[] value)
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.