Package com.tccc.kos.commons.util.concurrent.future


package com.tccc.kos.commons.util.concurrent.future
  • Class
    Description
    A future that immediately fails when started.
    Types of FutureWork callback events.
    A functional interface for associating runnable code with a future, whether the primary code of the future or callbacks based on future events.
    Possible FutureWork states, which are: SUCCESS: the operation successfully ran to completion FAIL: the operation ran to completion but failed CANCEL: the operation was cancelled by the user ABORT: the operation was aborted by the software
    This is the kOS equivalent of Java's FutureTask.
    Allows a collection of individual futures to be run in parallel, where the overall state of ParallelFuture reflects the result of the child futures.
    Allows a list of individual futures to be run in sequence, where the overall state of SequencedFuture reflects the result of the sequence.