Constructor and Description |
---|
ArchipelagoFuture(Scheduler scheduler) |
ArchipelagoFuture(Scheduler s,
T inData) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean b)
Cancels execution of this thread, optionally continuing execution if the associated
Callable is already running.
|
boolean |
finish(ProcessManager<?> pm) |
boolean |
finish(Throwable exception) |
T |
get() |
T |
get(long l,
TimeUnit timeUnit) |
long |
getID() |
boolean |
isCancelled() |
boolean |
isDone() |
public ArchipelagoFuture(Scheduler scheduler)
public long getID()
public boolean finish(Throwable exception)
public boolean finish(ProcessManager<?> pm) throws ClassCastException
ClassCastException
public boolean cancel(boolean b)
public boolean isCancelled()
isCancelled
in interface Future<T>
public T get() throws InterruptedException, ExecutionException
get
in interface Future<T>
InterruptedException
ExecutionException
public T get(long l, TimeUnit timeUnit) throws InterruptedException, ExecutionException, TimeoutException
get
in interface Future<T>
InterruptedException
ExecutionException
TimeoutException
Copyright © 2015–2021 Fiji. All rights reserved.