ExecutorWorkSerializer.@Deprecated public class AsynchronousWorkSerializer extends java.lang.Object implements IWorkSerializer, IExecutorServiceProvider, java.lang.Runnable
| Constructor and Description |
|---|
AsynchronousWorkSerializer(java.util.concurrent.ExecutorService executorService)
Deprecated.
|
AsynchronousWorkSerializer(java.util.concurrent.ExecutorService executorService,
java.util.Queue<java.lang.Runnable> workQueue)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addWork(java.lang.Runnable work)
Deprecated.
|
void |
dispose()
Deprecated.
|
java.util.concurrent.ExecutorService |
getExecutorService()
Deprecated.
|
void |
run()
Deprecated.
Executed in the context of the
executor service. |
java.lang.String |
toString()
Deprecated.
|
public AsynchronousWorkSerializer(java.util.concurrent.ExecutorService executorService,
java.util.Queue<java.lang.Runnable> workQueue)
public AsynchronousWorkSerializer(java.util.concurrent.ExecutorService executorService)
public java.util.concurrent.ExecutorService getExecutorService()
getExecutorService in interface IExecutorServiceProviderpublic boolean addWork(java.lang.Runnable work)
addWork in interface IWorkSerializerpublic void run()
executor service.
run in interface java.lang.Runnablepublic void dispose()
dispose in interface IWorkSerializerpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright (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