Klasse Future
java.lang.Object
ch.nolix.core.programcontrol.future.BaseFuture
ch.nolix.core.programcontrol.sequencer.Future
- Alle implementierten Schnittstellen:
IFuture
,FinishRequestable
- Version:
- 2017-05-23
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
getError()
int
boolean
void
Lets the currentIFuture
wait until it is finished.void
waitUntilIsFinished
(int timeoutInMilliseconds) Lets the currentIFuture
wait until it is finished within the given timeoutInMilliseconds.Von Klasse geerbte Methoden ch.nolix.core.programcontrol.future.BaseFuture
isFinishedSuccessfully, isFinishedWithError, waitUntilIsFinishedSuccessfully, waitUntilIsFinishedSuccessfully
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.programcontrolapi.processapi.FinishRequestable
isRunning
-
Methodendetails
-
caughtError
public boolean caughtError()- Gibt zurück:
- true if the current
IFuture
caught an error.
-
getError
- Gibt zurück:
- the error of the current
IFuture
.
-
getFinishedJobCount
public int getFinishedJobCount()- Gibt zurück:
- the number of finished jobs of the current
IFuture
.
-
isFinished
public boolean isFinished()- Gibt zurück:
- true if the current
FinishRequestable
is finished.
-
waitUntilIsFinished
public void waitUntilIsFinished()Lets the currentIFuture
wait until it is finished. -
waitUntilIsFinished
public void waitUntilIsFinished(int timeoutInMilliseconds) Lets the currentIFuture
wait until it is finished within the given timeoutInMilliseconds.- Parameter:
timeoutInMilliseconds
-
-