public abstract class IORunnable extends ClientRunnable
Modifier and Type | Field and Description |
---|---|
protected Map<Long,Call> |
callMap |
protected HazelcastClient |
client |
protected static Call |
RECONNECT_CALL |
monitor, running, terminated
Constructor and Description |
---|
IORunnable(HazelcastClient client,
Map<Long,Call> calls) |
Modifier and Type | Method and Description |
---|---|
void |
interruptWaitingCalls() |
void |
interruptWaitingCallsAndShutdown(boolean shutdown) |
protected boolean |
onDisconnect(Connection oldConnection) |
protected boolean |
restoredConnection(Connection oldConnection,
Connection newConnection) |
void |
run() |
customRun, shutdown, terminate
protected final HazelcastClient client
protected static final Call RECONNECT_CALL
public IORunnable(HazelcastClient client, Map<Long,Call> calls)
public void run()
run
in interface Runnable
run
in class ClientRunnable
public void interruptWaitingCallsAndShutdown(boolean shutdown)
public void interruptWaitingCalls()
protected boolean onDisconnect(Connection oldConnection)
protected boolean restoredConnection(Connection oldConnection, Connection newConnection)
Copyright © 2013 Hazelcast, Inc.. All rights reserved.