Class SerializingExecutor
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.net4j.util.concurrent.SerializingExecutor
- All Implemented Interfaces:
Runnable, Executor, INotifier, INotifier.INotifier2, IDeactivateable, ILifecycle, ILifecycle.DeferrableActivation
-
Nested Class Summary
Nested 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidfinal voidfinal Executorprotected voidhandleFailedTask(Runnable task, Throwable failure) final voidrun()final voidsetDelegate(Executor delegate) Methods 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
-
SerializingExecutor
-
SerializingExecutor
public SerializingExecutor()
-
-
Method Details
-
getDelegate
-
setDelegate
-
execute
-
run
-
handleFailedTask
-
doActivate
- Overrides:
doActivatein classLifecycle- Throws:
Exception
-
doDeactivate
- Overrides:
doDeactivatein classLifecycle- Throws:
Exception
-