public final class ClientSmartInvocationServiceImpl extends ClientInvocationServiceSupport
client, connectionManager, invocationLogger, partitionService
Constructor and Description |
---|
ClientSmartInvocationServiceImpl(HazelcastClientInstanceImpl client,
LoadBalancer loadBalancer) |
Modifier and Type | Method and Description |
---|---|
ClientConnection |
getConnection(int partitionId) |
void |
invokeOnConnection(ClientInvocation invocation,
ClientConnection connection) |
void |
invokeOnPartitionOwner(ClientInvocation invocation,
int partitionId) |
void |
invokeOnRandomTarget(ClientInvocation invocation) |
void |
invokeOnTarget(ClientInvocation invocation,
Address target) |
getInvocationTimeoutMillis, handleClientMessage, isRedoOperation, isShutdown, send, shutdown, start
public ClientSmartInvocationServiceImpl(HazelcastClientInstanceImpl client, LoadBalancer loadBalancer)
public void invokeOnPartitionOwner(ClientInvocation invocation, int partitionId) throws IOException
IOException
public void invokeOnRandomTarget(ClientInvocation invocation) throws IOException
IOException
public ClientConnection getConnection(int partitionId) throws IOException
IOException
public void invokeOnTarget(ClientInvocation invocation, Address target) throws IOException
IOException
public void invokeOnConnection(ClientInvocation invocation, ClientConnection connection) throws IOException
IOException
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.