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
interface CommandWaitEndpoint
Link copied to clipboard
interface CommandWaitNotifier
命令处理器完成处理后,将处理结果发往等待者
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
class EventHandledNotifierFilter(commandWaitNotifier: CommandWaitNotifier) : AbstractNotifierFilter<DomainEventExchange<Any>, DomainEvent<*>>
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
class ProcessedNotifierFilter(commandWaitNotifier: CommandWaitNotifier) : AbstractNotifierFilter<ServerCommandExchange<*>, CommandMessage<*>>
Link copied to clipboard
class ProjectedNotifierFilter(commandWaitNotifier: CommandWaitNotifier) : AbstractNotifierFilter<DomainEventExchange<Any>, DomainEvent<*>>
Link copied to clipboard
class SagaHandledNotifierFilter(commandWaitNotifier: CommandWaitNotifier) : AbstractNotifierFilter<DomainEventExchange<Any>, DomainEvent<*>>
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
Link copied to clipboard
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
interface WaitSignal : CommandId, ErrorInfo, CommandResultCapable, FunctionInfoCapable<FunctionInfoData>
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
interface WaitStrategyRegistrar
命令结果注册器.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
fun Header.injectWaitStrategy(commandWaitEndpoint: String, stage: CommandStage, context: String, processor: String = ""): Header
Link copied to clipboard
Link copied to clipboard
fun <E : MessageExchange<*, M>, M : Message<*, *>, CommandId, NamedBoundedContext> Mono<Void>.thenNotifyAndForget(commandWaitNotifier: CommandWaitNotifier, processingStage: CommandStage, messageExchange: E): Mono<Void>