Package-level declarations
Types
Link copied to clipboard
class AggregateCommandDispatcher<C : Any, S : Any>(val aggregateMetadata: AggregateMetadata<C, S>, val parallelism: Int = MessageParallelism.DEFAULT_PARALLELISM, val scheduler: Scheduler, val messageFlux: Flux<ServerCommandExchange<*>>, val name: String = "-", aggregateProcessorFactory: AggregateProcessorFactory, commandHandler: CommandHandler, serviceProvider: ServiceProvider) : AggregateMessageDispatcher<ServerCommandExchange<*>>
Aggregate Command Dispatcher Grouped by NamedAggregate.
----Link copied to clipboard
interface AggregateProcessor<C : Any> : AggregateIdCapable, NamedTypedAggregate<C> , MonoMessageProcessor<C, ServerCommandExchange<*>, Mono<DomainEventStream>>
Link copied to clipboard
interface AggregateProcessorFactory
Link copied to clipboard
Link copied to clipboard
interface CommandAggregate<C : Any, S : Any> : NamedTypedAggregate<C> , AggregateProcessor<C> , Version
Command Aggregate .
Link copied to clipboard
interface CommandAggregateFactory
Command Aggregate Factory .
Link copied to clipboard
class CommandDispatcher(val name: String = CommandDispatcher::class.simpleName!!, val parallelism: Int = MessageParallelism.DEFAULT_PARALLELISM, val namedAggregates: Set<NamedAggregate> = MetadataSearcher.localAggregates, commandBus: CommandBus, aggregateProcessorFactory: AggregateProcessorFactory, commandHandler: CommandHandler, serviceProvider: ServiceProvider, schedulerSupplier: AggregateSchedulerSupplier = DefaultAggregateSchedulerSupplier("CommandDispatcher")) : AbstractDispatcher<ServerCommandExchange<*>>
Command Dispatcher .
Link copied to clipboard
class CommandExpectVersionConflictException(val command: CommandMessage<*>, val expectVersion: Int, val actualVersion: Int, errorMsg: String = "The expected version[") : WowException
Link copied to clipboard
class CommandFunction<C : Any>(val delegate: MessageFunction<C, ServerCommandExchange<*>, Mono<*>>, commandAggregate: CommandAggregate<C, *>) : MessageFunction<C, ServerCommandExchange<*>, Mono<DomainEventStream>> , Decorator<MessageFunction<C, ServerCommandExchange<*>, Mono<*>>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class DefaultCommandHandler(chain: FilterChain<ServerCommandExchange<*>>, errorHandler: ErrorHandler<ServerCommandExchange<*>> = LogResumeErrorHandler()) : AbstractHandler<ServerCommandExchange<*>> , CommandHandler
Link copied to clipboard
class DefaultDeleteAggregateFunction<C : Any>(commandAggregate: CommandAggregate<C, *>) : MessageFunction<C, ServerCommandExchange<*>, Mono<DomainEventStream>>
Link copied to clipboard
class DefaultRecoverAggregateFunction<C : Any>(commandAggregate: CommandAggregate<C, *>) : MessageFunction<C, ServerCommandExchange<*>, Mono<DomainEventStream>>
Link copied to clipboard
class IllegalAccessDeletedAggregateException(val aggregateId: AggregateId, errorMsg: String = "Illegal access to a deleted aggregate[") : WowException
Link copied to clipboard
class RetryableAggregateProcessor<C : Any, S : Any>(val aggregateId: AggregateId, aggregateMetadata: AggregateMetadata<C, S>, aggregateFactory: StateAggregateFactory, stateAggregateRepository: StateAggregateRepository, commandAggregateFactory: CommandAggregateFactory) : AggregateProcessor<C> , NamedTypedAggregate<C>
Link copied to clipboard
class RetryableAggregateProcessorFactory(stateAggregateFactory: StateAggregateFactory, stateAggregateRepository: StateAggregateRepository, commandAggregateFactory: CommandAggregateFactory) : AggregateProcessorFactory
Link copied to clipboard
class SendDomainEventStreamFilter(domainEventBus: DomainEventBus) : ExchangeFilter<ServerCommandExchange<*>>
Link copied to clipboard
class SimpleCommandAggregate<C : Any, S : Any>(val state: StateAggregate<S>, val commandRoot: C, eventStore: EventStore, metadata: CommandAggregateMetadata<C>) : CommandAggregate<C, S> , NamedTypedAggregate<C>
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun ServerCommandExchange<*>.setCommandAggregate(commandAggregate: CommandAggregate<*, *>): ServerCommandExchange<*>