SerializingExecutor.@Deprecated public class ExecutorWorkSerializer extends Lifecycle implements IWorkSerializer
ILifecycle.DeferrableActivation| Constructor and Description |
|---|
ExecutorWorkSerializer()
Deprecated.
|
ExecutorWorkSerializer(java.util.concurrent.Executor executor)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addWork(java.lang.Runnable runnable)
Deprecated.
|
void |
dispose()
Deprecated.
|
protected void |
doActivate()
Deprecated.
|
protected void |
doBeforeActivate()
Deprecated.
|
protected void |
doDeactivate()
Deprecated.
|
java.util.concurrent.Executor |
getExecutor()
Deprecated.
|
protected void |
handleException(java.lang.Runnable runnable,
java.lang.Throwable ex)
Deprecated.
|
protected void |
noWork()
Deprecated.
|
void |
setExecutor(java.util.concurrent.Executor executor)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doAfterActivate, doBeforeDeactivate, dump, getLifecycleState, isActive, isDeferredActivationaddListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, getListeners, hasListeners, removeListenerpublic ExecutorWorkSerializer()
public ExecutorWorkSerializer(java.util.concurrent.Executor executor)
public java.util.concurrent.Executor getExecutor()
public void setExecutor(java.util.concurrent.Executor executor)
public boolean addWork(java.lang.Runnable runnable)
addWork in interface IWorkSerializerpublic void dispose()
dispose in interface IWorkSerializerprotected void handleException(java.lang.Runnable runnable,
java.lang.Throwable ex)
protected void noWork()
protected void doBeforeActivate()
throws java.lang.Exception
doBeforeActivate in class Lifecyclejava.lang.Exceptionprotected void doActivate()
throws java.lang.Exception
doActivate in class Lifecyclejava.lang.Exceptionprotected void doDeactivate()
throws java.lang.Exception
doDeactivate in class Lifecyclejava.lang.ExceptionCopyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html