object ReplicatedEntity
- Source
- ReplicatedEntityProvider.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReplicatedEntity
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def apply[M](replicaId: ReplicaId, entity: Entity[M, ShardingEnvelope[M]]): ReplicatedEntity[M]
Scala API: Defines the to use for a given replica, note that the behavior can be a behavior created with or an arbitrary non persistent but must never be a regular akka.persistence.typed.scaladsl.EventSourcedBehavior as that requires a single writer and that would cause it to have multiple writers.
- def create[M](replicaId: ReplicaId, entity: Entity[M, ShardingEnvelope[M]]): ReplicatedEntity[M]
Java API: Defines the to use for a given replica, note that the behavior can be a or an arbitrary non persistent but must never be a regular akka.persistence.typed.javadsl.EventSourcedBehavior as that requires a single writer and that would cause it to have multiple writers.