ExecutorWorkSerializer
.@Deprecated public class CompletionWorkSerializer extends java.lang.Object implements IWorkSerializer
Constructor and Description |
---|
CompletionWorkSerializer()
Deprecated.
|
CompletionWorkSerializer(java.util.concurrent.CompletionService<java.lang.Object> completionService)
Deprecated.
|
CompletionWorkSerializer(java.util.concurrent.Executor executor)
Deprecated.
|
CompletionWorkSerializer(java.util.concurrent.Executor executor,
java.util.concurrent.BlockingQueue<java.util.concurrent.Future<java.lang.Object>> completionQueue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addWork(java.lang.Runnable work)
Deprecated.
|
void |
dispose()
Deprecated.
|
java.util.concurrent.CompletionService<java.lang.Object> |
getCompletionService()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
public CompletionWorkSerializer(java.util.concurrent.CompletionService<java.lang.Object> completionService)
public CompletionWorkSerializer(java.util.concurrent.Executor executor, java.util.concurrent.BlockingQueue<java.util.concurrent.Future<java.lang.Object>> completionQueue)
public CompletionWorkSerializer(java.util.concurrent.Executor executor)
public CompletionWorkSerializer()
public java.util.concurrent.CompletionService<java.lang.Object> getCompletionService()
public void dispose()
dispose
in interface IWorkSerializer
public boolean addWork(java.lang.Runnable work)
addWork
in interface IWorkSerializer
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (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