com.hazelcast.client.spi
Interface ClientInvocationService
- All Known Implementing Classes:
- ClientNonSmartInvocationServiceImpl, ClientSmartInvocationServiceImpl
public interface ClientInvocationService
- Author:
- mdogan 5/16/13
invokeOnConnection
void invokeOnConnection(ClientInvocation invocation,
ClientConnection connection)
throws IOException
- Throws:
IOException
invokeOnPartitionOwner
void invokeOnPartitionOwner(ClientInvocation invocation,
int partitionId)
throws IOException
- Throws:
IOException
invokeOnRandomTarget
void invokeOnRandomTarget(ClientInvocation invocation)
throws IOException
- Throws:
IOException
invokeOnTarget
void invokeOnTarget(ClientInvocation invocation,
Address target)
throws IOException
- Throws:
IOException
isRedoOperation
boolean isRedoOperation()
removeEventHandler
boolean removeEventHandler(Integer callId)
- Removes event handler corresponding to callId
- Parameters:
callId
- of event handler registration request
- Returns:
- true if found and removed, false otherwise
shutdown
void shutdown()
handlePacket
void handlePacket(Packet packet)
cleanConnectionResources
void cleanConnectionResources(ClientConnection connection)
getEventHandler
EventHandler getEventHandler(int callId)
invokeOnTarget
<T> ICompletableFuture<T> invokeOnTarget(ClientRequest request,
Address target)
throws Exception
- Throws:
Exception
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.