クラス RabbitFuture<T>
java.lang.ObjectSE
java.util.concurrent.CompletableFutureSE<T>
org.springframework.amqp.rabbit.RabbitFuture<T>
- 型パラメーター:
T
- 型。
- 実装されているすべてのインターフェース:
CompletionStageSE<T>
,FutureSE<T>
- 既知の直属サブクラス
RabbitConverterFuture
,RabbitMessageFuture
AsyncRabbitTemplate
によって返される CompletableFuture
SE の基底クラス。- 導入:
- 2.4.7
- 作成者:
- Gary Russell, Artem Bilan
ネストされたクラスの要約
クラス java.util.concurrent.CompletableFutureSE から継承されたネストクラス / インターフェース
CompletableFuture.AsynchronousCompletionTaskSE
インターフェース java.util.concurrent.FutureSE から継承されたネストクラス / インターフェース
Future.StateSE
コンストラクターの概要
コンストラクター修飾子コンストラクター説明protected
RabbitFuture
(StringSE correlationId, Message requestMessage, BiConsumerSE<StringSE, DirectReplyToMessageListenerContainer.ChannelHolder> canceler, FunctionSE<RabbitFuture<?>, ScheduledFutureSE<?>> timeoutTaskFunction) メソッドのサマリー
修飾子と型メソッド説明boolean
cancel
(boolean mayInterruptIfRunning) boolean
boolean
確認が有効な場合、確認用のCompletableFuture
SE が含まれます。確認が有効で、nack が受信された場合、nack の原因があればそれが含まれます。クラス java.util.concurrent.CompletableFutureSE から継承されたメソッド
acceptEitherSE, acceptEitherAsyncSE, acceptEitherAsyncSE, allOfSE, anyOfSE, applyToEitherSE, applyToEitherAsyncSE, applyToEitherAsyncSE, completeAsyncSE, completeAsyncSE, completedFutureSE, completedStageSE, completeOnTimeoutSE, copy, defaultExecutor, delayedExecutorSE, delayedExecutorSE, exceptionallySE, exceptionallyAsyncSE, exceptionallyAsyncSE, exceptionallyComposeSE, exceptionallyComposeAsyncSE, exceptionallyComposeAsyncSE, exceptionNow, failedFutureSE, failedStageSE, get, getSE, getNowSE, getNumberOfDependents, handleSE, handleAsyncSE, handleAsyncSE, isCancelled, isCompletedExceptionally, isDone, join, minimalCompletionStage, newIncompleteFuture, obtrudeExceptionSE, obtrudeValueSE, orTimeoutSE, resultNow, runAfterBothSE, runAfterBothAsyncSE, runAfterBothAsyncSE, runAfterEitherSE, runAfterEitherAsyncSE, runAfterEitherAsyncSE, runAsyncSE, runAsyncSE, state, supplyAsyncSE, supplyAsyncSE, thenAcceptSE, thenAcceptAsyncSE, thenAcceptAsyncSE, thenAcceptBothSE, thenAcceptBothAsyncSE, thenAcceptBothAsyncSE, thenApplySE, thenApplyAsyncSE, thenApplyAsyncSE, thenCombineSE, thenCombineAsyncSE, thenCombineAsyncSE, thenComposeSE, thenComposeAsyncSE, thenComposeAsyncSE, thenRunSE, thenRunAsyncSE, thenRunAsyncSE, toCompletableFuture, toString, whenCompleteSE, whenCompleteAsyncSE, whenCompleteAsyncSE
コンストラクターの詳細
RabbitFuture
protected RabbitFuture(StringSE correlationId, Message requestMessage, BiConsumerSE<StringSE, DirectReplyToMessageListenerContainer.ChannelHolder> canceler, FunctionSE<RabbitFuture<?>, ScheduledFutureSE<?>> timeoutTaskFunction)
メソッドの詳細
complete
- オーバーライド:
- クラス
CompletableFutureSE<T>
のcompleteSE
completeExceptionally
- オーバーライド:
- クラス
CompletableFutureSE<T>
のcompleteExceptionallySE
cancel
getConfirm
確認が有効な場合、確認用のCompletableFuture
SE が含まれます。- 戻り値:
- 未来。
getNackCause