Klasse AbstractFuture
java.lang.Object
ch.nolix.core.programcontrol.future.AbstractFuture
- 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 booleanfinal booleanfinal voidLets the currentIFuturewait until it is finished successfully.final voidwaitUntilIsFinishedSuccessfully(int timeoutInMilliseconds) Lets the currentIFuturewait 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, waitVon Schnittstelle geerbte Methoden ch.nolix.coreapi.programcontrol.process.FinishRequestable
isFinished, isRunningVon Schnittstelle geerbte Methoden ch.nolix.coreapi.programcontrol.future.IFuture
caughtError, getError, waitUntilIsFinished, waitUntilIsFinished
-
Konstruktordetails
-
AbstractFuture
public AbstractFuture()
-
-
Methodendetails
-
isFinishedSuccessfully
public final boolean isFinishedSuccessfully()- Angegeben von:
isFinishedSuccessfullyin SchnittstelleIFuture- Gibt zurück:
- true if the current
IFutureis finished successfully.
-
isFinishedWithError
public final boolean isFinishedWithError()- Angegeben von:
isFinishedWithErrorin SchnittstelleIFuture- Gibt zurück:
- true if the current
IFutureis finished with an error.
-
waitUntilIsFinishedSuccessfully
public final void waitUntilIsFinishedSuccessfully()Lets the currentIFuturewait until it is finished successfully.- Angegeben von:
waitUntilIsFinishedSuccessfullyin SchnittstelleIFuture
-
waitUntilIsFinishedSuccessfully
public final void waitUntilIsFinishedSuccessfully(int timeoutInMilliseconds) Lets the currentIFuturewait until it is finished successfully within the given timeoutInMilliseconds.- Angegeben von:
waitUntilIsFinishedSuccessfullyin SchnittstelleIFuture- Parameter:
timeoutInMilliseconds-
-