Package org.springframework.amqp.rabbit
Class AsyncRabbitTemplate.RabbitConverterFuture<C>
- java.lang.Object
-
- org.springframework.util.concurrent.SettableListenableFuture<T>
-
- org.springframework.amqp.rabbit.AsyncRabbitTemplate.RabbitFuture<C>
-
- org.springframework.amqp.rabbit.AsyncRabbitTemplate.RabbitConverterFuture<C>
-
- Type Parameters:
C
- the type.
- All Implemented Interfaces:
java.util.concurrent.Future<C>
,ListenableFuture<C>
- Enclosing class:
- AsyncRabbitTemplate
public class AsyncRabbitTemplate.RabbitConverterFuture<C> extends AsyncRabbitTemplate.RabbitFuture<C>
AAsyncRabbitTemplate.RabbitFuture
with a return type of the template's generic parameter.- Since:
- 1.6
-
-
Constructor Summary
Constructors Constructor Description RabbitConverterFuture(java.lang.String correlationId, Message requestMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterizedTypeReference<C>
getReturnType()
void
setReturnType(ParameterizedTypeReference<C> returnType)
-
Methods inherited from class org.springframework.amqp.rabbit.AsyncRabbitTemplate.RabbitFuture
cancel, getConfirm, getNackCause
-
Methods inherited from class org.springframework.util.concurrent.SettableListenableFuture
addCallback, addCallback, completable, get, get, interruptTask, isCancelled, isDone, set, setException
-
-
-
-
Constructor Detail
-
RabbitConverterFuture
public RabbitConverterFuture(java.lang.String correlationId, Message requestMessage)
-
-
Method Detail
-
getReturnType
public ParameterizedTypeReference<C> getReturnType()
-
setReturnType
public void setReturnType(ParameterizedTypeReference<C> returnType)
-
-