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