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
-
Nested Class Summary
Nested classes/interfaces inherited from class CompletableFuture
CompletableFuture.AsynchronousCompletionTaskNested classes/interfaces inherited from interface Future
Future.State -
Method Summary
Modifier and TypeMethodDescription@Nullable org.springframework.core.ParameterizedTypeReference<C> voidsetReturnType(@Nullable org.springframework.core.ParameterizedTypeReference<C> returnType) Methods inherited from class RabbitFuture
cancel, complete, completeExceptionally, getConfirm, getNackCauseMethods inherited from class 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
public void setReturnType(@Nullable org.springframework.core.ParameterizedTypeReference<C> returnType)
-