Object/Class

akka.persistence.multidc.scaladsl

ReplicatedEntity

Related Docs: class ReplicatedEntity | package scaladsl

Permalink

object ReplicatedEntity

See the ReplicatedEntity class for details.

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 sender() ActorRef in the context or an ActorRef that is passed in the command.

    Not for user extension.

    Annotations
    @DoNotInherit()
  3. trait CommandHandler[Command, Event, State] extends AnyRef

    Permalink

    Not for user extension.

    Not for user extension. Instances are available through factory methods on the CommandHandler companion.

    Annotations
    @DoNotInherit()
  4. sealed class CommandHandlerFactories[Command, Event, State] extends AnyRef

    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 handlers based on current state by using CommandHandler.byState.

    Instances available through ReplicatedEntity.CommandHandler

    Not for user extension.

    Annotations
    @DoNotInherit()
  5. type CommandToEffect[Command, Event, State] = (CommandContext, State, Command) ⇒ Effect[Event, State]

    Permalink
  6. trait EventTaggingContext extends AnyRef

    Permalink

    Context passed to ReplicatedEntity.tagsFor when tagging events.

    Context passed to ReplicatedEntity.tagsFor when tagging events.

    Annotations
    @DoNotInherit()
  7. 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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def clusterShardingProps[Command, Event, State](entityTypeName: String, entityFactory: () ⇒ ReplicatedEntity[Command, Event, State], settings: PersistenceMultiDcSettings)(implicit arg0: ClassTag[Command]): 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.

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  16. def props[Command, Event, State](persistenceIdPrefix: String, entityId: String, entityFactory: () ⇒ ReplicatedEntity[Command, Event, State], settings: PersistenceMultiDcSettings)(implicit arg0: ClassTag[Command]): 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.

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped