com.hazelcast.client
Class ClientRunnable

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

public abstract class ClientRunnable
extends Object
implements Runnable


Field Summary
protected  Object monitor
           
protected  boolean running
           
 
Constructor Summary
ClientRunnable()
           
 
Method Summary
protected abstract  void customRun()
           
protected  void notifyMonitor()
           
 void run()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

running

protected volatile boolean running

monitor

protected final Object monitor
Constructor Detail

ClientRunnable

public ClientRunnable()
Method Detail

customRun

protected abstract void customRun()
                           throws InterruptedException
Throws:
InterruptedException

run

public void run()
Specified by:
run in interface Runnable

shutdown

public void shutdown()

notifyMonitor

protected void notifyMonitor()


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