object AggregateEventTag

Source
AggregateEventTag.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AggregateEventTag
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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[Event <: AggregateEvent[Event]](tag: String)(implicit arg0: ClassTag[Event]): AggregateEventTag[Event]

    Factory method of AggregateEventTag.

  5. def apply[Event <: AggregateEvent[Event]]()(implicit arg0: ClassTag[Event]): AggregateEventTag[Event]

    Convenience factory method of AggregateEventTag that uses the class name of the event type as tag.

    Convenience factory method of AggregateEventTag that uses the class name of the event type as tag. Note that it is needed to retain the original tag when the class name is changed because the tag is part of the store event data.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @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
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def selectShard(numShards: Int, entityId: String): Int

    Select a shard given the number of shards and the ID of the entity.

    Select a shard given the number of shards and the ID of the entity.

    numShards

    The number of shards.

    entityId

    The ID of the entity.

    returns

    The selected shard number.

  18. def shardTag(baseTagName: String, shardNo: Int): String

    Generate a shard tag according to the base tag name and the shard number.

    Generate a shard tag according to the base tag name and the shard number.

    baseTagName

    The base tag name.

    shardNo

    The shard number.

    returns

    The name of the shard tag.

  19. def sharded[Event <: AggregateEvent[Event]](baseTagName: String, numShards: Int)(implicit arg0: ClassTag[Event]): AggregateEventShards[Event]

    Create a sharded aggregate event tag.

    Create a sharded aggregate event tag.

    Events that return this will be tagged with a tag that is based on a hash of the events persistence ID, modulo the number of shards.

    The numShards should be selected up front, and shouldn't change. If it does change, events for the same entity will be produced by different event streams and handled by different shards in the read side processor, leading to out of order event handling.

    baseTagName

    The base name for the tag, this will be combined with the shard number to form the tag name.

    numShards

    The number of shards.

    returns

    The aggregate event shards tagger.

  20. def sharded[Event <: AggregateEvent[Event]](numShards: Int)(implicit arg0: ClassTag[Event]): AggregateEventShards[Event]

    Create an aggregate event shards tagger.

    Create an aggregate event shards tagger.

    This is a convenience function that uses the name of the class as the tag name. Note that if the class name changes, the tag name must be retained, and so this method will no longer be suitable for use.

    Events that return this will be tagged with a tag that is based on a hash of the events persistence ID, modulo the number of shards.

    The numShards should be selected up front, and shouldn't change. If it does change, events for the same entity will be produced by different event streams and handled by different shards in the read side processor, leading to out of order event handling.

    numShards

    The number of shards.

    returns

    The aggregate event shards tagger.

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped