org.gudy.azureus2.core3.util
Class AsyncDispatcher

java.lang.Object
  extended by org.gudy.azureus2.core3.util.AsyncDispatcher

public class AsyncDispatcher
extends java.lang.Object


Constructor Summary
AsyncDispatcher()
           
AsyncDispatcher(int quiesce_after_millis)
           
AsyncDispatcher(java.lang.String name)
           
AsyncDispatcher(java.lang.String _name, int _quiesce_after_millis)
           
 
Method Summary
 void dispatch(AERunnable target)
           
 void dispatch(AERunnable target, boolean is_priority)
           
 int getQueueSize()
           
 boolean isDispatchThread()
           
 boolean isQuiescent()
           
 void setPriority(int p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncDispatcher

public AsyncDispatcher()

AsyncDispatcher

public AsyncDispatcher(java.lang.String name)

AsyncDispatcher

public AsyncDispatcher(int quiesce_after_millis)

AsyncDispatcher

public AsyncDispatcher(java.lang.String _name,
                       int _quiesce_after_millis)
Method Detail

dispatch

public void dispatch(AERunnable target)

dispatch

public void dispatch(AERunnable target,
                     boolean is_priority)

isQuiescent

public boolean isQuiescent()

getQueueSize

public int getQueueSize()

setPriority

public void setPriority(int p)

isDispatchThread

public boolean isDispatchThread()