use of com.hazelcast.client.impl.protocol.codec.MapRemoveCodec in project hazelcast by hazelcast.
the class ClientMapProxy method removeAsyncInternal.
protected InternalCompletableFuture<V> removeAsyncInternal(Object key) {
try {
Data keyData = toData(key);
ClientMessage request = MapRemoveCodec.encodeRequest(name, keyData, getThreadId());
ClientInvocationFuture future = invokeOnKeyOwner(request, keyData);
SerializationService ss = getSerializationService();
return new ClientDelegatingFuture<>(future, ss, MapRemoveCodec::decodeResponse);
} catch (Exception e) {
throw rethrow(e);
}
}
Aggregations