Interface DurableExecutorServiceFuture<V>

  • Type Parameters:
    V - The result type returned by this Future's get method
    All Superinterfaces:
    java.util.concurrent.CompletionStage<V>, java.util.concurrent.Future<V>

    public interface DurableExecutorServiceFuture<V>
    extends java.util.concurrent.CompletionStage<V>, java.util.concurrent.Future<V>
    A Future where one can obtain the task ID for tracking the response.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getTaskId()
      A unique ID for the executing task
      • Methods inherited from interface java.util.concurrent.CompletionStage

        acceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, exceptionally, handle, handleAsync, handleAsync, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, whenComplete, whenCompleteAsync, whenCompleteAsync
      • Methods inherited from interface java.util.concurrent.Future

        cancel, get, get, isCancelled, isDone
    • Method Detail

      • getTaskId

        long getTaskId()
        A unique ID for the executing task
        the task ID