com.hazelcast.client.spi
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
IOException
void invokeOnPartitionOwner(ClientInvocation invocation, int partitionId) throws IOException
IOException
void invokeOnRandomTarget(ClientInvocation invocation) throws IOException
IOException
void invokeOnTarget(ClientInvocation invocation, Address target) throws IOException
IOException
boolean 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
Exception
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.