object ReplicatedEntityProvider

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplicatedEntityProvider
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[M](typeName: String, allReplicaIds: Set[ReplicaId])(settingsPerReplicaFactory: (EntityTypeKey[M], ReplicaId) => ReplicatedEntity[M])(implicit arg0: ClassTag[M]): ReplicatedEntityProvider[M]

    Scala API:

    Scala API:

    Provides full control over the ReplicatedEntity and the Entity Most use cases can use the perDataCenter and perRole

    M

    The type of messages the replicated entity accepts

    typeName

    The type name used in the EntityTypeKey

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  7. def create[M](messageClass: Class[M], typeName: String, allReplicaIds: Set[ReplicaId], settingsPerReplicaFactory: Function2[EntityTypeKey[M], ReplicaId, ReplicatedEntity[M]]): ReplicatedEntityProvider[M]

    Java API:

    Java API:

    Provides full control over the ReplicatedEntity and the Entity Most use cases can use the createPerDataCenter and createPerRole

    M

    The type of messages the replicated entity accepts

  8. def createPerRole[M](messageClass: Class[M], typeName: String, allReplicaIds: Set[ReplicaId], createBehavior: Function[ReplicationId, Behavior[M]]): ReplicatedEntityProvider[M]

    Java API

    Java API

    Create a ReplicatedEntityProvider that uses the defaults for Entity when running in ClusterSharding.

    Map replicas to roles and then there will be a replica per role e.g. to match to availability zones/racks

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  17. def perRole[M, E](typeName: String, allReplicaIds: Set[ReplicaId])(create: (ReplicationId) => Behavior[M])(implicit arg0: ClassTag[M]): ReplicatedEntityProvider[M]

    Scala API

    Scala API

    Create a ReplicatedEntityProvider that uses the defaults for Entity when running in ClusterSharding. The replicas in allReplicaIds should be roles used by nodes. A replica for each entity will run on each role.

  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def createPerDataCenter[M](messageClass: Class[M], typeName: String, allReplicaIds: Set[ReplicaId], createBehavior: Function[ReplicationId, Behavior[M]]): ReplicatedEntityProvider[M]

    Java API

    Java API

    Create a ReplicatedEntityProvider that uses the defaults for Entity when running in ClusterSharding. A replica will be run per data center.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use Akka Distributed Cluster instead

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  3. def perDataCenter[M, E](typeName: String, allReplicaIds: Set[ReplicaId])(create: (ReplicationId) => Behavior[M])(implicit arg0: ClassTag[M]): ReplicatedEntityProvider[M]

    Scala API

    Scala API

    Create a ReplicatedEntityProvider that uses the defaults for Entity when running in ClusterSharding. A replica will be run per data center.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use Akka Distributed Cluster instead

Inherited from AnyRef

Inherited from Any

Ungrouped