public final class ClientInvocationServiceImpl extends Object implements ClientInvocationService
| Constructor and Description |
|---|
ClientInvocationServiceImpl(HazelcastClientInstanceImpl client) |
| Modifier and Type | Method and Description |
|---|---|
void |
handlePacket(Packet packet) |
<T> ICompletableFuture<T> |
invokeOnKeyOwner(ClientRequest request,
Object key) |
<T> ICompletableFuture<T> |
invokeOnKeyOwner(ClientRequest request,
Object key,
EventHandler handler) |
<T> ICompletableFuture<T> |
invokeOnPartitionOwner(ClientRequest request,
int partitionId) |
<T> ICompletableFuture<T> |
invokeOnRandomTarget(ClientRequest request) |
<T> ICompletableFuture<T> |
invokeOnRandomTarget(ClientRequest request,
EventHandler handler) |
<T> ICompletableFuture<T> |
invokeOnTarget(ClientRequest request,
Address target) |
<T> ICompletableFuture<T> |
invokeOnTarget(ClientRequest request,
Address target,
EventHandler handler) |
boolean |
isRedoOperation() |
Future |
reSend(ClientCallFuture future) |
ICompletableFuture |
send(ClientRequest request,
ClientConnection connection) |
void |
shutdown() |
public ClientInvocationServiceImpl(HazelcastClientInstanceImpl client)
public <T> ICompletableFuture<T> invokeOnRandomTarget(ClientRequest request) throws Exception
invokeOnRandomTarget in interface ClientInvocationServiceExceptionpublic <T> ICompletableFuture<T> invokeOnTarget(ClientRequest request, Address target) throws Exception
invokeOnTarget in interface ClientInvocationServiceExceptionpublic <T> ICompletableFuture<T> invokeOnKeyOwner(ClientRequest request, Object key) throws Exception
invokeOnKeyOwner in interface ClientInvocationServiceExceptionpublic <T> ICompletableFuture<T> invokeOnKeyOwner(ClientRequest request, Object key, EventHandler handler) throws Exception
invokeOnKeyOwner in interface ClientInvocationServiceExceptionpublic <T> ICompletableFuture<T> invokeOnPartitionOwner(ClientRequest request, int partitionId) throws Exception
invokeOnPartitionOwner in interface ClientInvocationServiceExceptionpublic <T> ICompletableFuture<T> invokeOnRandomTarget(ClientRequest request, EventHandler handler) throws Exception
invokeOnRandomTarget in interface ClientInvocationServiceExceptionpublic <T> ICompletableFuture<T> invokeOnTarget(ClientRequest request, Address target, EventHandler handler) throws Exception
invokeOnTarget in interface ClientInvocationServiceExceptionpublic ICompletableFuture send(ClientRequest request, ClientConnection connection)
public Future reSend(ClientCallFuture future) throws Exception
Exceptionpublic boolean isRedoOperation()
public void shutdown()
public void handlePacket(Packet packet)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.