T
- the value typepublic abstract class InstantFutureBase<T> extends Object implements NotifyFuture<T>
Constructor and Description |
---|
InstantFutureBase() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(FutureListener<T> listener) |
void |
addListener(Runnable listener) |
boolean |
cancel(boolean mayInterruptIfRunning) |
boolean |
isCancelled() |
boolean |
isDone() |
void |
removeListener(FutureListener<T> listener) |
void |
removeListener(Runnable listener) |
public boolean isCancelled()
isCancelled
in interface Future<T>
public boolean cancel(boolean mayInterruptIfRunning)
public void addListener(FutureListener<T> listener)
addListener
in interface NotifyFuture<T>
public void removeListener(FutureListener<T> listener)
removeListener
in interface NotifyFuture<T>
public void addListener(Runnable listener)
addListener
in interface NotifyFuture<T>
public void removeListener(Runnable listener)
removeListener
in interface NotifyFuture<T>
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.