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