org.xmlBlaster.util.dispatch
Class DispatchWorkerPool
java.lang.Object
org.xmlBlaster.util.dispatch.DispatchWorkerPool
public class DispatchWorkerPool
- extends java.lang.Object
Pool of threads doing a callback.
Field Summary |
java.lang.String |
ME
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ME
public final java.lang.String ME
- See Also:
- Constant Field Values
DispatchWorkerPool
public DispatchWorkerPool(Global glob)
- Parameters:
maxWorkers
- Maximum allowed callback threads
isShutdown
public boolean isShutdown()
execute
public final boolean execute(java.lang.Runnable command)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
getStatistic
public java.lang.String getStatistic()
shutdownAfterProcessingCurrentlyQueuedTasks
public void shutdownAfterProcessingCurrentlyQueuedTasks()
- A shut down pool cannot be restarted
shutdown
public void shutdown()
getName
public java.lang.String getName()
- A human readable name of the listener for logging.
Enforced by I_RunlevelListener
Copyright © 1999-2014 The xmlBlaster.org contributers.