@Generated(value="ae6494a9f06459b13d3e1a147047efcd") public final class PNCounterGetCodec 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 |
PNCounterGetCodec.RequestParameters |
static class |
PNCounterGetCodec.ResponseParameters |
Modifier and Type | Field and Description |
---|---|
static int |
REQUEST_MESSAGE_TYPE |
static int |
RESPONSE_MESSAGE_TYPE |
Modifier and Type | Method and Description |
---|---|
static PNCounterGetCodec.RequestParameters |
decodeRequest(ClientMessage clientMessage) |
static PNCounterGetCodec.ResponseParameters |
decodeResponse(ClientMessage clientMessage) |
static ClientMessage |
encodeRequest(String name,
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, Collection<Map.Entry<UUID,Long>> replicaTimestamps, Address targetReplica)
public static PNCounterGetCodec.RequestParameters decodeRequest(ClientMessage clientMessage)
public static ClientMessage encodeResponse(long value, Collection<Map.Entry<UUID,Long>> replicaTimestamps, int replicaCount)
public static PNCounterGetCodec.ResponseParameters decodeResponse(ClientMessage clientMessage)
Copyright © 2019 Hazelcast, Inc.. All rights reserved.