public class ClientNonSmartInvocationServiceImpl extends Object
| Modifier and Type | Field and Description |
|---|---|
protected HazelcastClientInstanceImpl |
client |
protected ClientConnectionManager |
connectionManager |
protected ILogger |
invocationLogger |
protected ClientPartitionService |
partitionService |
| Constructor and Description |
|---|
ClientNonSmartInvocationServiceImpl(HazelcastClientInstanceImpl client) |
| Modifier and Type | Method and Description |
|---|---|
ClientConnection |
getConnection(int partitionId) |
long |
getInvocationTimeoutMillis() |
void |
handleClientMessage(ClientMessage message,
Connection connection) |
void |
invokeOnConnection(ClientInvocation invocation,
ClientConnection connection) |
void |
invokeOnPartitionOwner(ClientInvocation invocation,
int partitionId) |
void |
invokeOnRandomTarget(ClientInvocation invocation) |
void |
invokeOnTarget(ClientInvocation invocation,
Address target) |
boolean |
isRedoOperation() |
boolean |
isShutdown() |
protected void |
send(ClientInvocation invocation,
ClientConnection connection) |
void |
shutdown() |
void |
start() |
protected final HazelcastClientInstanceImpl client
protected final ILogger invocationLogger
protected ClientConnectionManager connectionManager
protected ClientPartitionService partitionService
public ClientNonSmartInvocationServiceImpl(HazelcastClientInstanceImpl client)
public void invokeOnRandomTarget(ClientInvocation invocation) throws IOException
IOExceptionpublic void invokeOnConnection(ClientInvocation invocation, ClientConnection connection) throws IOException
IOExceptionpublic void invokeOnPartitionOwner(ClientInvocation invocation, int partitionId) throws IOException
IOExceptionpublic void invokeOnTarget(ClientInvocation invocation, Address target) throws IOException
IOExceptionpublic ClientConnection getConnection(int partitionId) throws IOException
IOExceptionpublic void start()
start in interface ClientInvocationServicepublic boolean isRedoOperation()
isRedoOperation in interface ClientInvocationServiceprotected void send(ClientInvocation invocation, ClientConnection connection) throws IOException
IOExceptionpublic boolean isShutdown()
public void shutdown()
shutdown in interface ClientInvocationServicepublic void handleClientMessage(ClientMessage message, Connection connection)
handleClientMessage in interface ClientInvocationServicepublic long getInvocationTimeoutMillis()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.