final class State extends ProjectionSerializable
The state of a projections registry is a collection of projections with extra data indicating the name of the projection, and details about its workers. Note that many projections may operate over the same journal. Each worker includes information about the particular tagName it is tracking. Note that multiple workers may track the same tagName because each worker is part of a different projection. Each worker also has a key which is unique across the whole cluster. Finally, the data related to a worker that's part of the State includes a requested status and an observed status for the worker.
- Annotations
- @ApiMayChange()
- Source
- State.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- State
- ProjectionSerializable
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
State(projections: Seq[Projection])
- projections
list of available projections on the internal registry
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (State, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def ensuring(cond: (State) ⇒ Boolean, msg: ⇒ Any): State
- def ensuring(cond: (State) ⇒ Boolean): State
- def ensuring(cond: Boolean, msg: ⇒ Any): State
- def ensuring(cond: Boolean): State
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- State → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getProjections: List[Projection]
Java API
-
def
hashCode(): Int
- Definition Classes
- State → 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 projections: Seq[Projection]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- State → 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): (State, B)