public interface ClientInvocationService
| Modifier and Type | Method and Description |
|---|---|
void |
cleanConnectionResources(ClientConnection connection) |
EventHandler |
getEventHandler(int callId) |
void |
handlePacket(Packet packet) |
void |
invokeOnConnection(ClientInvocation invocation,
ClientConnection connection) |
void |
invokeOnPartitionOwner(ClientInvocation invocation,
int partitionId) |
void |
invokeOnRandomTarget(ClientInvocation invocation) |
void |
invokeOnTarget(ClientInvocation invocation,
Address target) |
<T> ICompletableFuture<T> |
invokeOnTarget(ClientRequest request,
Address target) |
boolean |
isRedoOperation() |
boolean |
removeEventHandler(Integer callId)
Removes event handler corresponding to callId
|
void |
shutdown() |
void invokeOnConnection(ClientInvocation invocation, ClientConnection connection) throws IOException
IOExceptionvoid invokeOnPartitionOwner(ClientInvocation invocation, int partitionId) throws IOException
IOExceptionvoid invokeOnRandomTarget(ClientInvocation invocation) throws IOException
IOExceptionvoid invokeOnTarget(ClientInvocation invocation, Address target) throws IOException
IOExceptionboolean isRedoOperation()
boolean removeEventHandler(Integer callId)
callId - of event handler registration requestvoid shutdown()
void handlePacket(Packet packet)
void cleanConnectionResources(ClientConnection connection)
EventHandler getEventHandler(int callId)
<T> ICompletableFuture<T> invokeOnTarget(ClientRequest request, Address target) throws Exception
ExceptionCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.