AggregateSnapshotDispatcher

class AggregateSnapshotDispatcher(snapshotHandler: SnapshotHandler, val namedAggregate: NamedAggregate, val name: String = "-", val parallelism: Int = MessageParallelism.DEFAULT_PARALLELISM, val scheduler: Scheduler, val messageFlux: Flux<StateEventExchange<*>>) : AggregateMessageDispatcher<StateEventExchange<*>> , ProcessorInfo

Constructors

Link copied to clipboard
constructor(snapshotHandler: SnapshotHandler, namedAggregate: NamedAggregate, name: String = "-", parallelism: Int = MessageParallelism.DEFAULT_PARALLELISM, scheduler: Scheduler, messageFlux: Flux<StateEventExchange<*>>)

Properties

Link copied to clipboard
open override val aggregateName: String
Link copied to clipboard
open override val contextName: String
Link copied to clipboard
open override val messageFlux: Flux<StateEventExchange<*>>
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val namedAggregate: NamedAggregate
Link copied to clipboard
open override val parallelism: Int
Link copied to clipboard
open override val processorName: String
Link copied to clipboard
open override val scheduler: Scheduler

Functions

Link copied to clipboard
fun NamedAggregate.aggregateId(id: String = generateId(), tenantId: String = TenantId.DEFAULT_TENANT_ID): DefaultAggregateId
Link copied to clipboard
Link copied to clipboard
override fun cancel()
Link copied to clipboard
open override fun close()
Link copied to clipboard
open fun currentContext(): Context
Link copied to clipboard
open override fun dispose()
Link copied to clipboard
Link copied to clipboard
fun NamedBoundedContext.getContextAlias(boundedContext: BoundedContext? = MetadataSearcher.metadata.contexts[contextName]): String
Link copied to clipboard
open override fun handleExchange(exchange: StateEventExchange<*>): Mono<Void>
Link copied to clipboard
open override fun isDisposed(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun onComplete()
Link copied to clipboard
override fun onError(p0: Throwable)
Link copied to clipboard
override fun onNext(p0: Void)
Link copied to clipboard
override fun onSubscribe(p0: Subscription)
Link copied to clipboard
override fun request(p0: Long)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun run()
Link copied to clipboard
open fun safeOnNext(value: Void)
Link copied to clipboard
open fun safeOnNextError(value: Void, throwable: Throwable)
Link copied to clipboard
open override fun StateEventExchange<*>.toGroupKey(): Int
Link copied to clipboard