| Interface | Description |
|---|---|
| CommandToEffect<Command,Event,State> |
SAM for reacting on commands
|
| EventHandler<Event,State> |
Can be created with a
EventHandlerBuilder available in ReplicatedEntity.eventHandlerBuilder(java.lang.Class<Event>) but can also
be provided manually (as a lambda). |
| ReplicatedEntity.ActorContext |
Actor context for
ReplicatedEntity with somewhat limited capabilities and additional functionality
specifically replicated entities. |
| ReplicatedEntity.CommandContext |
Actor context for
ReplicatedEntity with somewhat limited capabilities and additional functionality
specifically replicated entities. |
| ReplicatedEntity.EventTaggingContext |
Context passed to `ReplicatedEntity.tagsFor` when tagging events.
|
| ReplicatedEntity.EventTriggerContext |
Context passed to `ReplicatedEntity.eventTrigger`.
|
| SignalHandler<Signal,Event,State> |
SAM for reacting on signals
|
| SignalHandlerBuilder<Command,Event,State> |
Not intended for user extension.
|
| Class | Description |
|---|---|
| ApiCompileTest | |
| ByStateCommandHandlerBuilder<Command,Event,State> |
Mutable builder for nested Java
CommandHandlers where different states should have different command handlers. |
| CommandHandler<Command,Event,State> |
Not for user extension.
|
| CommandHandlerBuilder<Command,Event,State> |
Mutable builder for Java
CommandHandlers. |
| Effect<Event,State> |
A command handler returns a
Effect directive that defines what event or events,
if any, to persist. |
| EffectFactories<Command,Event,State> |
Not intended for user extension.
|
| EffectFactory |
Singleton object for the effect factories, do not use directly, instead use
ReplicatedEntity.Effect() |
| EffectFactory$ |
Singleton object for the effect factories, do not use directly, instead use
ReplicatedEntity.Effect() |
| EventHandlerBuilder<Event,State> | |
| ReplicatedEntity<Command,Event,State> |
A
ReplicatedEntity has a stable entity identifier, with which
it can be accessed from anywhere in the cluster. |
| ReplicatedEntity.CommandHandlers$ |
CommandHandler defines how to react on a commands and optionally functions for other signals,
e.g. |
| ReplicatedEntity$ |