Packages

class ProjectionRegistryActor extends Actor with ActorLogging

Build an in-memory, CRDT-backed representation of the status of each projection worker. Each instance of this actor communicates with the

WorkerCoordinator

running locally to propagate requests and retrieve status of the actual worker actor. The retrieved data for requested and observed status is propagated to other peers.

See also https://github.com/playframework/play-meta/blob/master/docs/design/projections-design.md

WorkerCoordinator }}} requests and retrieve status of the actual worker actor. The retrieved data for requested and observed status is propagated to other peers.

See also https://github.com/playframework/play-meta/blob/master/docs/design/projections-design.md

Source
ProjectionRegistryActor.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProjectionRegistryActor
  2. ActorLogging
  3. Actor
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProjectionRegistryActor()

Type Members

  1. type Receive = PartialFunction[Any, Unit]
    Definition Classes
    Actor

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ProjectionRegistryActor to any2stringadd[ProjectionRegistryActor] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ProjectionRegistryActor, B)
    Implicit
    This member is added by an implicit conversion from ProjectionRegistryActor to ArrowAssoc[ProjectionRegistryActor] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val DefaultRequestedStatus: Status
  7. var actorIndex: Map[WorkerCoordinates, ActorRef]
  8. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  9. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  10. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  11. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  12. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  15. implicit val context: ActorContext
    Definition Classes
    Actor
  16. def ensuring(cond: (ProjectionRegistryActor) ⇒ Boolean, msg: ⇒ Any): ProjectionRegistryActor
    Implicit
    This member is added by an implicit conversion from ProjectionRegistryActor to Ensuring[ProjectionRegistryActor] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (ProjectionRegistryActor) ⇒ Boolean): ProjectionRegistryActor
    Implicit
    This member is added by an implicit conversion from ProjectionRegistryActor to Ensuring[ProjectionRegistryActor] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: ⇒ Any): ProjectionRegistryActor
    Implicit
    This member is added by an implicit conversion from ProjectionRegistryActor to Ensuring[ProjectionRegistryActor] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): ProjectionRegistryActor
    Implicit
    This member is added by an implicit conversion from ProjectionRegistryActor to Ensuring[ProjectionRegistryActor] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ProjectionRegistryActor to StringFormat[ProjectionRegistryActor] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def log: LoggingAdapter
    Definition Classes
    ActorLogging
  28. var nameIndex: Map[ProjectionName, Set[WorkerCoordinates]]
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. implicit val node: SelfUniqueAddress
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. var observedStatusLocalCopy: Map[WorkerCoordinates, Status]
  34. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  35. def postStop(): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  36. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  37. def preStart(): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  38. def receive: Receive
    Definition Classes
    ProjectionRegistryActor → Actor
  39. val replicator: ActorRef
  40. var requestedStatusLocalCopy: Map[WorkerCoordinates, Status]
  41. var reversedActorIndex: Map[ActorRef, WorkerCoordinates]
  42. implicit final val self: ActorRef
    Definition Classes
    Actor
  43. final def sender(): ActorRef
    Definition Classes
    Actor
  44. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  45. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  46. def toString(): String
    Definition Classes
    AnyRef → Any
  47. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  48. var unknownProjections: Map[ProjectionName, Status]
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  52. val writeConsistency: WriteConsistency
  53. def [B](y: B): (ProjectionRegistryActor, B)
    Implicit
    This member is added by an implicit conversion from ProjectionRegistryActor to ArrowAssoc[ProjectionRegistryActor] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from ActorLogging

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ProjectionRegistryActor to any2stringadd[ProjectionRegistryActor]

Inherited by implicit conversion StringFormat from ProjectionRegistryActor to StringFormat[ProjectionRegistryActor]

Inherited by implicit conversion Ensuring from ProjectionRegistryActor to Ensuring[ProjectionRegistryActor]

Inherited by implicit conversion ArrowAssoc from ProjectionRegistryActor to ArrowAssoc[ProjectionRegistryActor]

Ungrouped