Object/Class

akka.persistence.multidc.javadsl

ReplicatedEntity

Related Docs: class ReplicatedEntity | package javadsl

Permalink

object ReplicatedEntity

Annotations
@ApiMayChange()
Linear Supertypes
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplicatedEntity
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait ActorContext extends AnyRef

    Permalink

    Actor context for ReplicatedEntity with somewhat limited capabilities and additional functionality specifically replicated entities.

    Actor context for ReplicatedEntity with somewhat limited capabilities and additional functionality specifically replicated entities.

    Not for user extension.

    Annotations
    @DoNotInherit()
  2. trait CommandContext extends ActorContext

    Permalink

    Actor context for ReplicatedEntity with somewhat limited capabilities and additional functionality specifically replicated entities.

    Actor context for ReplicatedEntity with somewhat limited capabilities and additional functionality specifically replicated entities.

    Replies are sent with the getSender() ActorRef in the context or an ActorRef that is passed in the command.

    Not for user extension.

    Annotations
    @DoNotInherit()
  3. trait EventTaggingContext extends AnyRef

    Permalink

    Context passed to ReplicatedEntity.tagsFor when tagging events.

    Context passed to ReplicatedEntity.tagsFor when tagging events.

    Annotations
    @DoNotInherit()
  4. trait EventTriggerContext extends AnyRef

    Permalink

    Context passed to ReplicatedEntity.eventTrigger.

    Context passed to ReplicatedEntity.eventTrigger.

    Annotations
    @DoNotInherit()

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object CommandHandlers

    Permalink

    CommandHandler defines how to react on a commands and optionally functions for other signals, e.g.

    CommandHandler defines how to react on a commands and optionally functions for other signals, e.g. Termination messages if watch is used.

    Note that you can have different handers based on current state by using ReplicatedEntity#byStateCommandHandlerBuilder.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def clusterShardingProps[Command, Event, State >: Null](commandClass: Class[Command], entityTypeName: String, entityFactory: Supplier[ReplicatedEntity[Command, Event, State]], settings: PersistenceMultiDcSettings): Props

    Permalink

    The Props for the actor that can run a ReplicatedEntity with Cluster Sharding.

    The Props for the actor that can run a ReplicatedEntity with Cluster Sharding.

    entityTypeName

    Use the same as the entity type name in Cluster Sharding. It is a prefix for the persistenceId, which is concatenated with the entityId and the data center identifier. Note that this can't be changed, since it is part of the storage key (persistenceId).

    entityFactory

    Factory for creating a new instance of the entity. It has to be a factory so that a new instance is created in case the actor is restarted.

    settings

    Configuration settings.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def props[Command, Event, State >: Null](commandClass: Class[Command], persistenceIdPrefix: String, entityId: String, entityFactory: Supplier[ReplicatedEntity[Command, Event, State]], settings: PersistenceMultiDcSettings): Props

    Permalink

    The Props for the actor that can run a ReplicatedEntity.

    The Props for the actor that can run a ReplicatedEntity.

    Use #clusterShardingProps instead when using Cluster Sharding.

    persistenceIdPrefix

    Prefix for the persistenceId, which is concatenated with the entityId and the data center identifier. Empty string is a valid prefix if the entityId itself is globally unique. Note that this can't be changed, since it is part of the storage key (persistenceId).

    entityId

    The identifier of the entity. The persistenceId includes this entityId and is concatenated with persistenceIdPrefix and the data center identifier.

    entityFactory

    Factory for creating a new instance of the entity. It has to be a factory so that a new instance is created in case the actor is restarted.

    settings

    Configuration settings.

  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped