com.hazelcast.client
Class OutRunnable

java.lang.Object
  extended by com.hazelcast.client.ClientRunnable
      extended by com.hazelcast.client.IORunnable
          extended by com.hazelcast.client.OutRunnable
All Implemented Interfaces:
Runnable

public class OutRunnable
extends IORunnable


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

Constructor Detail

OutRunnable

public OutRunnable(HazelcastClient client,
                   Map<Long,Call> calls,
                   PacketWriter writer)
Method Detail

customRun

protected void customRun()
                  throws InterruptedException
Specified by:
customRun in class ClientRunnable
Throws:
InterruptedException

interruptWaitingCalls

public void interruptWaitingCalls()
Overrides:
interruptWaitingCalls in class IORunnable

enQueue

public void enQueue(Call call)

getQueueSize

public int getQueueSize()


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