com.hazelcast.client
Class IORunnable

java.lang.Object
  extended by com.hazelcast.client.ClientRunnable
      extended by com.hazelcast.client.IORunnable
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
InRunnable, OutRunnable

public abstract class IORunnable
extends ClientRunnable


Field Summary
protected  Map<Long,Call> callMap
           
protected  HazelcastClient client
           
protected static Call RECONNECT_CALL
           
 
Fields inherited from class com.hazelcast.client.ClientRunnable
monitor, running
 
Constructor Summary
IORunnable(HazelcastClient client, Map<Long,Call> calls)
           
 
Method Summary
 void interruptWaitingCalls()
           
 void interruptWaitingCallsAndShutdown(boolean shutdown)
           
protected  boolean onDisconnect(Connection oldConnection)
           
protected  boolean restoredConnection(Connection oldConnection, Connection newConnection)
           
 void run()
           
 
Methods inherited from class com.hazelcast.client.ClientRunnable
customRun, notifyMonitor, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

callMap

protected Map<Long,Call> callMap

client

protected final HazelcastClient client

RECONNECT_CALL

protected static final Call RECONNECT_CALL
Constructor Detail

IORunnable

public IORunnable(HazelcastClient client,
                  Map<Long,Call> calls)
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class ClientRunnable

interruptWaitingCallsAndShutdown

public void interruptWaitingCallsAndShutdown(boolean shutdown)

interruptWaitingCalls

public void interruptWaitingCalls()

onDisconnect

protected boolean onDisconnect(Connection oldConnection)

restoredConnection

protected boolean restoredConnection(Connection oldConnection,
                                     Connection newConnection)


Copyright © 2012 Hazel Bilisim Ltd.. All Rights Reserved.