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