PATH_ELEMENT - public class PathFuture<PATH_ELEMENT> extends ComponentFuture<List<PATH_ELEMENT>> implements IPathFuture<PATH_ELEMENT>
IPathFuture interface that assumes the computation to be
dependent on some IComponents. Therefore the path future retrieval method (ComponentFuture.get() and
ComponentFuture.get(long, java.util.concurrent.TimeUnit)) will fail if one of these components fails.| Constructor and Description |
|---|
PathFuture(PATH_ELEMENT pathFrom,
PATH_ELEMENT pathTo)
Initialize the path future as independent on any
IComponent. |
PathFuture(PATH_ELEMENT pathFrom,
PATH_ELEMENT pathTo,
IComponentBus bus,
IComponent... dependants)
Initialize the path future as dependent on 'dependants'.
|
| Modifier and Type | Method and Description |
|---|---|
PATH_ELEMENT |
getPathFrom()
Where does the path start.
|
PATH_ELEMENT |
getPathTo()
Where does the path end.
|
createLatch, get, getaddFutureListener, cancel, cancelComputation, computationException, getException, getStatus, isCancelled, isDone, isListening, removeFutureListener, setResult, switchStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFutureListener, get, get, getStatus, isListening, removeFutureListenercancel, isCancelled, isDonepublic PathFuture(PATH_ELEMENT pathFrom, PATH_ELEMENT pathTo)
IComponent.pathFrom - pathTo - public PathFuture(PATH_ELEMENT pathFrom, PATH_ELEMENT pathTo, IComponentBus bus, IComponent... dependants)
See ComponentFuture.ComponentFuture(IComponentBus, IComponent...) for more details about 'bus' and 'dependants'
parameters.
pathFrom - pathTo - bus - depends - public PATH_ELEMENT getPathFrom()
IPathFuturegetPathFrom in interface IPathFuture<PATH_ELEMENT>public PATH_ELEMENT getPathTo()
IPathFuturegetPathTo in interface IPathFuture<PATH_ELEMENT>Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.