Class RequestReplyFuture<K,V,R>  
java.lang.Object
java.util.concurrent.CompletableFuture<org.apache.kafka.clients.consumer.ConsumerRecord<K,R>>
 
org.springframework.kafka.requestreply.RequestReplyFuture<K,V,R>  
- Type Parameters:
- K- the key type.
- V- the outbound data type.
- R- the reply data type.
- All Implemented Interfaces:
- CompletionStage<org.apache.kafka.clients.consumer.ConsumerRecord<K,,- R>> - Future<org.apache.kafka.clients.consumer.ConsumerRecord<K,- R>> 
public class RequestReplyFuture<K,V,R>  
extends CompletableFuture<org.apache.kafka.clients.consumer.ConsumerRecord<K,R>> 
A 
CompletableFuture for requests/replies.- Since:
- 2.1.3
- Author:
- Gary Russell
- 
Nested Class SummaryNested classes/interfaces inherited from class java.util.concurrent.CompletableFutureCompletableFuture.AsynchronousCompletionTaskNested classes/interfaces inherited from interface java.util.concurrent.FutureFuture.State
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturn the send future.protected voidsetSendFuture(CompletableFuture<SendResult<K, V>> sendFuture) Methods inherited from class java.util.concurrent.CompletableFutureacceptEither, 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
- 
Constructor Details- 
RequestReplyFuturepublic RequestReplyFuture()
 
- 
- 
Method Details- 
setSendFuture
- 
getSendFutureReturn the send future.- Returns:
- the send future.
 
 
-