Package-level declarations

Types

Link copied to clipboard
abstract class AbstractNotifierFilter<T : MessageExchange<*, M>, M : Message<*, *>, CommandId, NamedBoundedContext>(processingStage: CommandStage, commandWaitNotifier: CommandWaitNotifier) : ExchangeFilter<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

命令处理器完成处理后,将处理结果发往等待者

Link copied to clipboard
class CommandWaitNotifierSubscriber<E : MessageExchange<*, M>, M : Message<*, *>, CommandId, NamedBoundedContext>(commandWaitNotifier: CommandWaitNotifier, processingStage: CommandStage, waitStrategy: WaitStrategyInfo, commandId: String, messageExchange: E, actual: CoreSubscriber<in Void>) : BaseSubscriber<Void>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class MonoCommandWaitNotifier<E : MessageExchange<*, M>, M : Message<*, *>, CommandId, NamedBoundedContext>(commandWaitNotifier: CommandWaitNotifier, processingStage: CommandStage, messageExchange: E, source: Mono<Void>) : Mono<Void>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class SimpleWaitSignal(val commandId: String, val stage: CommandStage, val function: FunctionInfoData, val isLastProjection: Boolean = false, val errorCode: String = ErrorCodes.SUCCEEDED, val errorMsg: String = ErrorCodes.SUCCEEDED_MESSAGE, val bindingErrors: List<BindingError> = emptyList(), val result: Map<String, Any> = emptyMap()) : WaitSignal
Link copied to clipboard
@Order(value = -2147483648)
class SnapshotNotifierFilter(commandWaitNotifier: CommandWaitNotifier) : AbstractNotifierFilter<StateEventExchange<*>, StateEvent<*>>
Link copied to clipboard
class WaitingFor(val stage: CommandStage, val contextName: String, val processorName: String = "") : WaitStrategy
Link copied to clipboard

Command Wait Strategy

Link copied to clipboard
data class WaitStrategyInfo(val commandWaitEndpoint: String, val stage: CommandStage, val contextName: String, val processorName: String) : ProcessorInfo
Link copied to clipboard

命令结果注册器.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun Header.injectWaitStrategy(commandWaitEndpoint: String, stage: CommandStage, context: String, processor: String = ""): Header
Link copied to clipboard
fun isLocalCommand(commandId: String): Boolean
Link copied to clipboard
fun <E : MessageExchange<*, M>, M : Message<*, *>, CommandId, NamedBoundedContext> Mono<Void>.thenNotifyAndForget(commandWaitNotifier: CommandWaitNotifier, processingStage: CommandStage, messageExchange: E): Mono<Void>