use of com.hazelcast.client.impl.protocol.codec.AtomicLongGetCodec in project hazelcast by hazelcast.
the class AtomicLongProxy method getAsync.
@Override
public InternalCompletableFuture<Long> getAsync() {
ClientMessage request = AtomicLongGetCodec.encodeRequest(groupId, objectName);
ClientInvocationFuture future = new ClientInvocation(getClient(), request, name).invoke();
return new ClientDelegatingFuture<>(future, getSerializationService(), AtomicLongGetCodec::decodeResponse);
}
Aggregations