| Interface | Description |
|---|---|
| AggregateEvent<E extends AggregateEvent<E>> |
The base type of
PersistentEntity events may implement this
interface to make the events available for read-side processing. |
| AggregateEventTagger<Event extends AggregateEvent<Event>> |
Selects a tag for an event.
|
| PersistentEntity.ReplyType<R> |
Commands to a
PersistentEntity must implement this interface
to define the reply type. |
| PersistentEntityRegistry |
At system startup all
PersistentEntity classes must be registered here
with PersistentEntityRegistry.register(java.lang.Class<? extends com.lightbend.lagom.javadsl.persistence.PersistentEntity<C, E, S>>). |
| ReadSide |
The Lagom read-side registry.
|
| Class | Description |
|---|---|
| AggregateEventShards<Event extends AggregateEvent<Event>> |
The base type of
PersistentEntity events may return one of these
to make the events available for sharded read-side processing. |
| AggregateEventTag<Event extends AggregateEvent<Event>> |
The base type of
PersistentEntity events may return one of these
to make the events available for read-side processing. |
| AggregateEventTag$ | |
| AkkaTaggerAdapter | |
| CommandEnvelope |
Commands to
PersistentEntity are wrapped in this envelope
when sent via PersistentEntityRef (i.e. |
| CommandEnvelope$ | |
| Offset |
An offset.
|
| Offset.NoOffset | |
| Offset.Sequence |
A sequence number offset, backed by a long.
|
| Offset.TimeBasedUUID |
A time-based UUID offset, backed by a UUID.
|
| PersistenceModule |
Guice module for the Persistence API.
|
| PersistentEntity<Command,Event,State> |
A
PersistentEntity has a stable entity identifier, with which
it can be accessed from anywhere in the cluster. |
| PersistentEntity.InvalidCommandException$ | |
| PersistentEntity.PersistException$ | |
| PersistentEntity.UnhandledCommandException$ | |
| PersistentEntity$ | |
| PersistentEntityRef<Command> |
Commands are sent to a
PersistentEntity using a PersistentEntityRef. |
| ReadSideProcessor<Event extends AggregateEvent<Event>> |
A read side processor.
|
| ReadSideProcessor.ReadSideHandler<Event extends AggregateEvent<Event>> |
An read side offset processor.
|
| Exception | Description |
|---|---|
| PersistentEntity.InvalidCommandException |
Standard exception when rejecting invalid commands.
|
| PersistentEntity.PersistException |
Exception that is used when persist fails.
|
| PersistentEntity.UnhandledCommandException |
Exception that is used when command is not handled
|