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]) @native() @HotSpotIntrinsicCandidate()
  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 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.

  9. 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

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. 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.

  19. 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.

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

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped