Package org.jgroups.protocols
Class COUNTER.RequestCompletableFuture<T>
java.lang.Object
java.util.concurrent.CompletableFuture<COUNTER.ResponseData<T>>
org.jgroups.protocols.COUNTER.RequestCompletableFuture<T>
- All Implemented Interfaces:
CompletionStage<COUNTER.ResponseData<T>>,Future<COUNTER.ResponseData<T>>
- Enclosing class:
COUNTER
private static class COUNTER.RequestCompletableFuture<T>
extends CompletableFuture<COUNTER.ResponseData<T>>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTaskNested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) COUNTER.Request(package private) voidrequestCompleted(long value, long version, T returnValue) (package private) voidrequestFailed(String errorMessage) Methods inherited from class java.util.concurrent.CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, cancel, complete, completeAsync, completeAsync, completedFuture, completedStage, completeExceptionally, completeOnTimeout, copy, defaultExecutor, delayedExecutor, delayedExecutor, exceptionally, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, exceptionNow, failedFuture, failedStage, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, newIncompleteFuture, obtrudeException, obtrudeValue, orTimeout, resultNow, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, state, supplyAsync, supplyAsync, thenAccept, thenAcceptAsync, thenAcceptAsync, thenAcceptBoth, thenAcceptBothAsync, thenAcceptBothAsync, thenApply, thenApplyAsync, thenApplyAsync, thenCombine, thenCombineAsync, thenCombineAsync, thenCompose, thenComposeAsync, thenComposeAsync, thenRun, thenRunAsync, thenRunAsync, toCompletableFuture, toString, whenComplete, whenCompleteAsync, whenCompleteAsync
-
Field Details
-
request
-
-
Constructor Details
-
RequestCompletableFuture
-
-
Method Details
-
getRequest
COUNTER.Request getRequest() -
requestCompleted
-
requestFailed
-