Klasse AbstractFuture
java.lang.Object
ch.nolix.core.programcontrol.future.AbstractFuture
- Alle implementierten Schnittstellen:
IFuture, FinishRequestable
- Bekannte direkte Unterklassen:
Future, ImageGenerator, ResultFuture
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden FinishRequestable
isFinished, isRunningVon Schnittstelle geerbte Methoden 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, false otherwise.
-
isFinishedWithError
public final boolean isFinishedWithError()- Angegeben von:
isFinishedWithErrorin SchnittstelleIFuture- Gibt zurück:
- true if the current
IFutureis finished with an error, false otherwise.
-
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-
-