CommandHandlerBuilder<Command,Event,State> |
Use this method to define command handlers that are selected when the passed predicate holds true.
|
CommandHandlerBuilder$ |
|
CommandHandlerBuilderByState<Command,Event,S extends State,State> |
Matches any command which the given predicate returns true for.
|
CommandHandlerBuilderByState$ |
param: stateClass The handlers defined by this builder are used when the state is an instance of the stateClass
|
CommandHandlerWithReplyBuilder<Command,Event,State> |
Use this method to define command handlers that are selected when the passed predicate holds true.
|
CommandHandlerWithReplyBuilder$ |
|
CommandHandlerWithReplyBuilderByState<Command,Event,S extends State,State> |
Matches any command which the given predicate returns true for.
|
CommandHandlerWithReplyBuilderByState$ |
param: stateClass The handlers defined by this builder are used when the state is an instance of the stateClass
|
EffectBuilder<Event,State> |
Run the given callback.
|
EffectFactories<Event,State> |
Persist a single event
|
EffectFactories$ |
INTERNAL API: see class EffectFactories
|
EventHandlerBuilder<State,Event> |
Use this method to define event handlers that are selected when the passed predicate holds true.
|
EventHandlerBuilder$ |
|
EventHandlerBuilderByState<S extends State,State,Event> |
Match any event which is an instance of E or a subtype of E .
|
EventHandlerBuilderByState$ |
param: stateClass The handlers defined by this builder are used when the state is an instance of the stateClass
|
EventSourcedBehavior<Command,Event,State> |
Factory of effects.
|
EventSourcedBehaviorWithEnforcedReplies<Command,Event,State> |
Implement by handling incoming commands and return an Effect() to persist or signal other effects
of the command handling such as stopping the behavior or others.
|
RetentionCriteria |
Criteria for retention/deletion of snapshots and events.
|
RetentionCriteria$ |
Snapshots are not saved and deleted automatically, events are not deleted.
|
SignalHandler<State> |
INTERNAL API
|
SignalHandler$ |
|
SignalHandlerBuilder<State> |
If the behavior recieves a signal of type T , callback is invoked with the signal instance as input.
|
SignalHandlerBuilder$ |
INTERNAL API
|
SnapshotCountRetentionCriteria |
Delete events after saving snapshot via {@link RetentionCriteria.snapshotEvery()}.
|