Package org.springframework.amqp.rabbit
Class RabbitConverterFuture<C>
java.lang.Object
java.util.concurrent.CompletableFuture<T>
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.CompletableFuture
CompletableFuture.AsynchronousCompletionTask -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.ParameterizedTypeReference<C>voidsetReturnType(org.springframework.core.ParameterizedTypeReference<C> returnType) Methods inherited from class org.springframework.amqp.rabbit.RabbitFuture
cancel, getConfirm, getNackCauseMethods inherited from class java.util.concurrent.CompletableFuture
acceptEither, acceptEitherAsync, acceptEitherAsync, allOf, anyOf, applyToEither, applyToEitherAsync, applyToEitherAsync, complete, completeAsync, completeAsync, completedFuture, completedStage, completeExceptionally, completeOnTimeout, copy, defaultExecutor, delayedExecutor, delayedExecutor, exceptionally, exceptionallyAsync, exceptionallyAsync, exceptionallyCompose, exceptionallyComposeAsync, exceptionallyComposeAsync, failedFuture, failedStage, get, get, getNow, getNumberOfDependents, handle, handleAsync, handleAsync, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, newIncompleteFuture, obtrudeException, obtrudeValue, orTimeout, runAfterBoth, runAfterBothAsync, runAfterBothAsync, runAfterEither, runAfterEitherAsync, runAfterEitherAsync, runAsync, runAsync, 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
-