java.lang.Object
ch.nolix.core.programcontrol.future.BaseFuture
ch.nolix.core.programcontrol.sequencer.Future
Alle implementierten Schnittstellen:
IFuture, FinishRequestable

public final class Future extends BaseFuture
Version:
2017-05-23
Autor:
Silvan Wyss
  • Methodendetails

    • caughtError

      public boolean caughtError()
      Gibt zurück:
      true if the current IFuture caught an error.
    • getError

      public Throwable 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 current IFuture wait until it is finished.
    • waitUntilIsFinished

      public void waitUntilIsFinished(int timeoutInMilliseconds)
      Lets the current IFuture wait until it is finished within the given timeoutInMilliseconds.
      Parameter:
      timeoutInMilliseconds -