Class AsynchronousWorkSerializer
- java.lang.Object
- 
- org.eclipse.net4j.util.concurrent.AsynchronousWorkSerializer
 
- 
- All Implemented Interfaces:
- java.lang.Runnable,- IExecutorServiceProvider,- IWorkSerializer
 
 @Deprecated public class AsynchronousWorkSerializer extends java.lang.Object implements IWorkSerializer, IExecutorServiceProvider, java.lang.Runnable Deprecated.As of 3.6 useExecutorWorkSerializer.- Author:
- Eike Stepper
 
- 
- 
Constructor SummaryConstructors Constructor Description AsynchronousWorkSerializer(java.util.concurrent.ExecutorService executorService)Deprecated.AsynchronousWorkSerializer(java.util.concurrent.ExecutorService executorService, java.util.Queue<java.lang.Runnable> workQueue)Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanaddWork(java.lang.Runnable work)Deprecated.voiddispose()Deprecated.java.util.concurrent.ExecutorServicegetExecutorService()Deprecated.voidrun()Deprecated.Executed in the context of theexecutor service.java.lang.StringtoString()Deprecated.
 
- 
- 
- 
Constructor Detail- 
AsynchronousWorkSerializerpublic AsynchronousWorkSerializer(java.util.concurrent.ExecutorService executorService, java.util.Queue<java.lang.Runnable> workQueue)Deprecated.
 - 
AsynchronousWorkSerializerpublic AsynchronousWorkSerializer(java.util.concurrent.ExecutorService executorService) Deprecated.
 
- 
 - 
Method Detail- 
getExecutorServicepublic java.util.concurrent.ExecutorService getExecutorService() Deprecated.- Specified by:
- getExecutorServicein interface- IExecutorServiceProvider
 
 - 
addWorkpublic boolean addWork(java.lang.Runnable work) Deprecated.- Specified by:
- addWorkin interface- IWorkSerializer
 
 - 
runpublic void run() Deprecated.Executed in the context of theexecutor service.- Specified by:
- runin interface- java.lang.Runnable
 
 - 
disposepublic void dispose() Deprecated.- Specified by:
- disposein interface- IWorkSerializer
 
 - 
toStringpublic java.lang.String toString() Deprecated.- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-