final class AggregateEventShards[Event <: AggregateEvent[Event]] extends AggregateEventTagger[Event]
The base type of PersistentEntity events may return one of these to make the events available for sharded read-side processing.
The tag should be unique among the event types of the service.
The numShards should be stable and never change.
The class name can be used as tag, but 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.
- Source
- AggregateEventTag.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AggregateEventShards
- AggregateEventTagger
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from AggregateEventShards[Event] to any2stringadd[AggregateEventShards[Event]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (AggregateEventShards[Event], B)
- Implicit
- This member is added by an implicit conversion from AggregateEventShards[Event] to ArrowAssoc[AggregateEventShards[Event]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
allTags: Set[AggregateEventTag[Event]]
- returns
all the tags that this app will use according to the
numShardsand theeventType
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
ensuring(cond: (AggregateEventShards[Event]) ⇒ Boolean, msg: ⇒ Any): AggregateEventShards[Event]
- Implicit
- This member is added by an implicit conversion from AggregateEventShards[Event] to Ensuring[AggregateEventShards[Event]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (AggregateEventShards[Event]) ⇒ Boolean): AggregateEventShards[Event]
- Implicit
- This member is added by an implicit conversion from AggregateEventShards[Event] to Ensuring[AggregateEventShards[Event]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): AggregateEventShards[Event]
- Implicit
- This member is added by an implicit conversion from AggregateEventShards[Event] to Ensuring[AggregateEventShards[Event]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): AggregateEventShards[Event]
- Implicit
- This member is added by an implicit conversion from AggregateEventShards[Event] to Ensuring[AggregateEventShards[Event]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- AggregateEventShards → AnyRef → Any
-
val
eventType: Class[Event]
- Definition Classes
- AggregateEventShards → AggregateEventTagger
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
forEntityId(entityId: String): AggregateEventTag[Event]
Get the tag for the given entity ID.
Get the tag for the given entity ID.
- entityId
The entity ID to get the tag for.
- returns
The tag.
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from AggregateEventShards[Event] to StringFormat[AggregateEventShards[Event]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AggregateEventShards → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val numShards: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tag: String
-
def
toString(): String
- Definition Classes
- AggregateEventShards → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
→[B](y: B): (AggregateEventShards[Event], B)
- Implicit
- This member is added by an implicit conversion from AggregateEventShards[Event] to ArrowAssoc[AggregateEventShards[Event]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc