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