クラス RabbitFuture<T>
java.lang.ObjectSE
java.util.concurrent.CompletableFutureSE<T>
org.springframework.amqp.rabbit.RabbitFuture<T>
- 型パラメーター:
T- 型。
- 実装されているすべてのインターフェース:
CompletionStageSE<T>,FutureSE<T>
- 既知の直属サブクラス
RabbitConverterFuture,RabbitMessageFuture
AsyncRabbitTemplate によって返される CompletableFutureSE の基底クラス。- 導入:
- 2.4.7
- 作成者:
- Gary Russell, Artem Bilan
ネストされたクラスの要約
クラス java.util.concurrent.CompletableFutureSE から継承されたネストクラス / インターフェース
CompletableFuture.AsynchronousCompletionTaskSEインターフェース java.util.concurrent.FutureSE から継承されたネストクラス / インターフェース
Future.StateSEコンストラクターの概要
コンストラクター修飾子コンストラクター説明protectedRabbitFuture(StringSE correlationId, Message requestMessage, BiConsumerSE<StringSE, @Nullable DirectReplyToMessageListenerContainer.ChannelHolder> canceler, FunctionSE<RabbitFuture<?>, @Nullable ScheduledFutureSE<?>> timeoutTaskFunction) メソッドのサマリー
修飾子と型メソッド説明booleancancel(boolean mayInterruptIfRunning) booleanboolean確認が有効な場合、確認用のCompletableFutureSE が含まれます。@Nullable StringSE確認が有効で、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, @Nullable DirectReplyToMessageListenerContainer.ChannelHolder> canceler, FunctionSE<RabbitFuture<?>, @Nullable ScheduledFutureSE<?>> timeoutTaskFunction)
メソッドの詳細
complete
- オーバーライド:
- クラス
CompletableFutureSE<T>のcompleteSE
completeExceptionally
- オーバーライド:
- クラス
CompletableFutureSE<T>のcompleteExceptionallySE
cancel
getConfirm
確認が有効な場合、確認用のCompletableFutureSE が含まれます。- 戻り値:
- 未来。
getNackCause