@Generated(value="fc0a235528d4bee343d3bdf2d949cf83") public final class PNCounterAddCodec extends Object
The invocation will return the replica timestamps (vector clock) which
can then be sent with the next invocation to keep session consistency
guarantees.
The target replica is determined by the targetReplica
parameter.
If smart routing is disabled, the actual member processing the client
message may act as a proxy.
Modifier and Type | Class and Description |
---|---|
static class |
PNCounterAddCodec.RequestParameters |
static class |
PNCounterAddCodec.ResponseParameters |
Modifier and Type | Field and Description |
---|---|
static int |
REQUEST_MESSAGE_TYPE |
static int |
RESPONSE_MESSAGE_TYPE |
Modifier and Type | Method and Description |
---|---|
static PNCounterAddCodec.RequestParameters |
decodeRequest(ClientMessage clientMessage) |
static PNCounterAddCodec.ResponseParameters |
decodeResponse(ClientMessage clientMessage) |
static ClientMessage |
encodeRequest(String name,
long delta,
boolean getBeforeUpdate,
Collection<Map.Entry<UUID,Long>> replicaTimestamps,
Address targetReplica) |
static ClientMessage |
encodeResponse(long value,
Collection<Map.Entry<UUID,Long>> replicaTimestamps,
int replicaCount) |
public static final int REQUEST_MESSAGE_TYPE
public static final int RESPONSE_MESSAGE_TYPE
public static ClientMessage encodeRequest(String name, long delta, boolean getBeforeUpdate, Collection<Map.Entry<UUID,Long>> replicaTimestamps, Address targetReplica)
public static PNCounterAddCodec.RequestParameters decodeRequest(ClientMessage clientMessage)
public static ClientMessage encodeResponse(long value, Collection<Map.Entry<UUID,Long>> replicaTimestamps, int replicaCount)
public static PNCounterAddCodec.ResponseParameters decodeResponse(ClientMessage clientMessage)
Copyright © 2019 Hazelcast, Inc.. All rights reserved.