ExecutorWorkSerializer.@Deprecated public class AsynchronousWorkSerializer extends Object implements IWorkSerializer, IExecutorServiceProvider, Runnable
| Constructor and Description |
|---|
AsynchronousWorkSerializer(ExecutorService executorService)
Deprecated.
|
AsynchronousWorkSerializer(ExecutorService executorService,
Queue<Runnable> workQueue)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addWork(Runnable work)
Deprecated.
|
void |
dispose()
Deprecated.
|
ExecutorService |
getExecutorService()
Deprecated.
|
void |
run()
Deprecated.
Executed in the context of the
executor service. |
String |
toString()
Deprecated.
|
public AsynchronousWorkSerializer(ExecutorService executorService, Queue<Runnable> workQueue)
public AsynchronousWorkSerializer(ExecutorService executorService)
public ExecutorService getExecutorService()
getExecutorService in interface IExecutorServiceProviderpublic boolean addWork(Runnable work)
addWork in interface IWorkSerializerpublic void run()
executor service.
public void dispose()
dispose in interface IWorkSerializerCopyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.