All Classes
-
Class Description Aggregator<E,A> An Aggregator is a function that builds up an aggregate from a stream of events (effectively a fold function).AggregatorBuilder<E,A> A builder for creating anAggregatorthat can handle multiple event types by adding one or more single event aggregators.CommandAPI<K,C> The public API for submitting commands against a given aggregate and querying where they have been successfully applied.CommandAPI.Request<K,C> CommandError A CommandError explains failures.CommandError.Reason CommandHandler<K,C,E,A> A command handler is responsible for accepting or rejecting commands and turning accepted commands into a list of events by applying the appropriate business logic and validations based on the current state.CommandHandlerBuilder<K,C,E,A> An builder for creating anCommandHandlerthat can handle several different commands types by adding one or more single command handlers.CommandId InitialValue<K,A> Provides the initial value of an aggregate.InvalidSequenceHandler<K,C,A> This functional for accepting or rejecting commands executed against an out of date view.