Class QueueRunner2<T extends Runnable>
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.net4j.util.concurrent.Worker
org.eclipse.net4j.util.concurrent.QueueWorker<T>
org.eclipse.net4j.util.concurrent.QueueRunner2<T>
- Type Parameters:
T- the element type
- All Implemented Interfaces:
INotifier, INotifier.INotifier2, IDeactivateable, ILifecycle, ILifecycle.DeferrableActivation
- Direct Known Subclasses:
PriorityQueueRunner
- Since:
- 3.3
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from class Worker
Worker.Terminate, Worker.WorkContextNested classes/interfaces inherited from class Notifier
Notifier.CancelationNested classes/interfaces inherited from interface ILifecycle
ILifecycle.DeferrableActivationNested classes/interfaces inherited from interface INotifier
INotifier.INotifier2 -
Field Summary
Fields inherited from class QueueWorker
DEFAULT_POLL_MILLISFields inherited from class Worker
DEFAULT_ERROR_HANDLER, DEFAULT_TIMEOUT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class QueueWorker
addWork, clearQueue, createQueue, doDeactivate, doRemainingWorkBeforeDeactivate, getPollMillis, noWork, setPollMillis, workMethods inherited from class Worker
doActivate, getActivationTimeout, getDeactivationTimeout, getGlobalErrorHandler, getThreadName, getWorkerThread, handleError, isDaemon, setActivationTimeout, setDaemon, setDeactivationTimeout, setGlobalErrorHandlerMethods inherited from class Lifecycle
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, doCancelActivation, dump, getLifecycleState, isActive, isDeferredActivation, toStringMethods inherited from class Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListenerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface INotifier
addListener, getListeners, hasListeners, removeListener
-
Constructor Details
-
QueueRunner2
public QueueRunner2()
-
-
Method Details
-
work
- Specified by:
workin classQueueWorker<T extends Runnable>
-