c
com.lightbend.lagom.internal.projection
ProjectionRegistryActor
Companion object ProjectionRegistryActor
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
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ProjectionRegistryActor
- ActorLogging
- Actor
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ProjectionRegistryActor()
Type Members
-
type
Receive = PartialFunction[Any, Unit]
- Definition Classes
- Actor
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 ProjectionRegistryActor to any2stringadd[ProjectionRegistryActor] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
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()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val DefaultRequestedStatus: Status
- var actorIndex: Map[WorkerCoordinates, ActorRef]
-
def
aroundPostRestart(reason: Throwable): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
-
def
aroundPostStop(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
-
def
aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
-
def
aroundPreStart(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
-
def
aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
implicit
val
context: ActorContext
- Definition Classes
- Actor
-
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
-
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
-
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
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log: LoggingAdapter
- Definition Classes
- ActorLogging
- var nameIndex: Map[ProjectionName, Set[WorkerCoordinates]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- implicit val node: SelfUniqueAddress
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- var observedStatusLocalCopy: Map[WorkerCoordinates, Status]
-
def
postRestart(reason: Throwable): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
postStop(): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
preRestart(reason: Throwable, message: Option[Any]): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
preStart(): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
receive: Receive
- Definition Classes
- ProjectionRegistryActor → Actor
- val replicator: ActorRef
- var requestedStatusLocalCopy: Map[WorkerCoordinates, Status]
- var reversedActorIndex: Map[ActorRef, WorkerCoordinates]
-
implicit final
val
self: ActorRef
- Definition Classes
- Actor
-
final
def
sender(): ActorRef
- Definition Classes
- Actor
-
def
supervisorStrategy: SupervisorStrategy
- Definition Classes
- Actor
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unhandled(message: Any): Unit
- Definition Classes
- Actor
- var unknownProjections: Map[ProjectionName, Status]
-
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()
- val writeConsistency: WriteConsistency
-
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