@Deprecated public class TaskCoordinator extends Object implements Cancelable, org.neo4j.function.Factory<TaskControl>
TaskControl
instances that need to be waited on and potentially
cancelled en mass. Instances of TaskControl
acquired through the newInstance()
method can be
notified of cancellation with the semantics of CancellationRequest
.Constructor and Description |
---|
TaskCoordinator(long sleepTime,
TimeUnit sleepUnit)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
awaitCompletion()
Deprecated.
|
void |
cancel()
Deprecated.
|
TaskControl |
newInstance()
Deprecated.
|
@Deprecated public TaskCoordinator(long sleepTime, TimeUnit sleepUnit)
@Deprecated public void cancel()
cancel
in interface Cancelable
@Deprecated public void awaitCompletion() throws InterruptedException
InterruptedException
@Deprecated public TaskControl newInstance()
newInstance
in interface org.neo4j.function.Factory<TaskControl>
Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.