Klasse BaseFuture
java.lang.Object
ch.nolix.core.programcontrol.future.BaseFuture
- Alle implementierten Schnittstellen:
IFuture
,FinishRequestable
- Bekannte direkte Unterklassen:
Future
,ImageGenerator
,ResultFuture
- Version:
- 2022-06-18
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal boolean
final boolean
final void
Lets the currentIFuture
wait until it is finished successfully.final void
waitUntilIsFinishedSuccessfully
(int timeoutInMilliseconds) Lets the currentIFuture
wait until it is finished successfully within the given timeoutInMilliseconds.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
isFinished, isRunning
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.programcontrolapi.futureapi.IFuture
caughtError, getError, waitUntilIsFinished, waitUntilIsFinished
-
Konstruktordetails
-
BaseFuture
public BaseFuture()
-
-
Methodendetails
-
isFinishedSuccessfully
public final boolean isFinishedSuccessfully()- Angegeben von:
isFinishedSuccessfully
in SchnittstelleIFuture
- Gibt zurück:
- true if the current
IFuture
is finished successfully.
-
isFinishedWithError
public final boolean isFinishedWithError()- Angegeben von:
isFinishedWithError
in SchnittstelleIFuture
- Gibt zurück:
- true if the current
IFuture
is finished with an error.
-
waitUntilIsFinishedSuccessfully
public final void waitUntilIsFinishedSuccessfully()Lets the currentIFuture
wait until it is finished successfully.- Angegeben von:
waitUntilIsFinishedSuccessfully
in SchnittstelleIFuture
-
waitUntilIsFinishedSuccessfully
public final void waitUntilIsFinishedSuccessfully(int timeoutInMilliseconds) Lets the currentIFuture
wait until it is finished successfully within the given timeoutInMilliseconds.- Angegeben von:
waitUntilIsFinishedSuccessfully
in SchnittstelleIFuture
- Parameter:
timeoutInMilliseconds
-
-