Class RabbitConverterFuture<C>
java.lang.Object
java.util.concurrent.CompletableFuture<C>
org.springframework.amqp.rabbit.RabbitFuture<C>
org.springframework.amqp.rabbit.RabbitConverterFuture<C>
- Type Parameters:
C- the type.
- All Implemented Interfaces:
CompletionStage<C>,Future<C>
A
RabbitFuture with a return type of the template's
generic parameter.- Since:
- 2.4.7
- Author:
- Gary Russell
-
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 -
Method Summary
Modifier and TypeMethodDescription@Nullable ParameterizedTypeReference<C> voidsetReturnType(@Nullable ParameterizedTypeReference<C> returnType) Methods inherited from class org.springframework.amqp.rabbit.RabbitFuture
cancel, complete, completeExceptionally, getConfirm, getNackCauseMethods inherited from class java.util.concurrent.CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, completeAsync, completeAsync, completedFuture, completedStage, 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
-
Method Details
-
getReturnType
-
setReturnType
-