Package com.hazelcast.durableexecutor
Interface DurableExecutorServiceFuture<V>
- Type Parameters:
V
- The result type returned by this Future'sget
method
- All Superinterfaces:
CompletionStage<V>
,Future<V>
public interface DurableExecutorServiceFuture<V> extends CompletionStage<V>, Future<V>
A Future where one can obtain the task ID for tracking the response.
-
Method Summary
Modifier and Type Method Description long
getTaskId()
A unique ID for the executing taskMethods inherited from interface java.util.concurrent.CompletionStage
acceptEither, acceptEitherAsync, acceptEitherAsync, applyToEither, applyToEitherAsync, applyToEitherAsync, exceptionally, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, 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
-
Method Details
-
getTaskId
long getTaskId()A unique ID for the executing task- Returns:
- the task ID
-