abstract classEventSourcedEntity[Command, Event, State >: Null] extends EventSourcedBehavior[Command, Event, State]
Any Behavior can be used as a sharded entity actor, but the combination of sharding and persistent
actors is very common and therefore this PersistentEntity class is provided as convenience.
It is a EventSourcedBehavior and is implemented in the same way. It selects the persistenceId
automatically from the EntityTypeKey and entityId constructor parameters by using
EntityTypeKey.persistenceIdFrom.
This member is added by an implicit conversion from EventSourcedEntity[Command, Event, State] to
any2stringadd[EventSourcedEntity[Command, Event, State]] performed by method any2stringadd in scala.Predef.
This member is added by an implicit conversion from EventSourcedEntity[Command, Event, State] to
ArrowAssoc[EventSourcedEntity[Command, Event, State]] performed by method ArrowAssoc in scala.Predef.
This member is added by an implicit conversion from EventSourcedEntity[Command, Event, State] to
Ensuring[EventSourcedEntity[Command, Event, State]] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from EventSourcedEntity[Command, Event, State] to
Ensuring[EventSourcedEntity[Command, Event, State]] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from EventSourcedEntity[Command, Event, State] to
Ensuring[EventSourcedEntity[Command, Event, State]] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from EventSourcedEntity[Command, Event, State] to
Ensuring[EventSourcedEntity[Command, Event, State]] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from EventSourcedEntity[Command, Event, State] to
StringFormat[EventSourcedEntity[Command, Event, State]] performed by method StringFormat in scala.Predef.
This member is added by an implicit conversion from EventSourcedEntity[Command, Event, State] to
ArrowAssoc[EventSourcedEntity[Command, Event, State]] performed by method ArrowAssoc in scala.Predef.
This member is added by an implicit conversion from EventSourcedEntity[Command, Event, State] to
BehaviorDecorators[Command] performed by method BehaviorDecorators in akka.actor.typed.Behavior.
Shadowing
This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error. To access this member you can use a type ascription:
This member is added by an implicit conversion from EventSourcedEntity[Command, Event, State] to
BehaviorDecorators[Command] performed by method BehaviorDecorators in akka.actor.typed.Behavior.
Shadowing
This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error. To access this member you can use a type ascription:
This member is added by an implicit conversion from EventSourcedEntity[Command, Event, State] to
BehaviorDecorators[Command] performed by method BehaviorDecorators in akka.actor.typed.Behavior.
Shadowing
This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error. To access this member you can use a type ascription:
This member is added by an implicit conversion from EventSourcedEntity[Command, Event, State] to
BehaviorDecorators[Command] performed by method BehaviorDecorators in akka.actor.typed.Behavior.
Shadowing
This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error. To access this member you can use a type ascription:
Inherited by implicit conversion BehaviorDecorators from
EventSourcedEntity[Command, Event, State] to BehaviorDecorators[Command]
Inherited by implicit conversion BehaviorDecorators from
EventSourcedEntity[Command, Event, State] to BehaviorDecorators[Command]
Inherited by implicit conversion any2stringadd from
EventSourcedEntity[Command, Event, State] to any2stringadd[EventSourcedEntity[Command, Event, State]]
Inherited by implicit conversion StringFormat from
EventSourcedEntity[Command, Event, State] to StringFormat[EventSourcedEntity[Command, Event, State]]
Any Behavior can be used as a sharded entity actor, but the combination of sharding and persistent actors is very common and therefore this
PersistentEntity
class is provided as convenience.It is a EventSourcedBehavior and is implemented in the same way. It selects the
persistenceId
automatically from the EntityTypeKey andentityId
constructor parameters by using EntityTypeKey.persistenceIdFrom.