Class/Object

com.comcast.xfinity.sirius.api.impl.state

StateSup

Related Docs: object StateSup | package state

Permalink

class StateSup extends Actor with MonitoringHooks

Actor for supervising state related matters (in memory state and persistent state).

Linear Supertypes
MonitoringHooks, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StateSup
  2. MonitoringHooks
  3. Actor
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StateSup(requestHandler: RequestHandler, siriusLog: SiriusLog, siriusStateAgent: Agent[SiriusState], childProvider: ChildProvider, config: SiriusConfiguration)

    Permalink

    requestHandler

    the RequestHandler to apply updates to and perform Gets on

    siriusLog

    the SiriusLog to persist OrderedEvents to

    siriusStateAgent

    agent containing information on the state of the system.

    childProvider

    factory for creating children of StateSup

    config

    SiriusCOnfiguration object for configuring children actors.

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor
  2. class StateInfo extends StateInfoMBean

    Permalink
  3. trait StateInfoMBean extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  5. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  6. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  7. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  8. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. var bootstrapTime: Option[Long]

    Permalink
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. var eventReplayFailureCount: Long

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. val logger: LoggingAdapter

    Permalink
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. val persistenceActor: ActorRef

    Permalink
  25. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  26. def postStop(): Unit

    Permalink
    Definition Classes
    StateSup → Actor
  27. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  28. def preStart(): Unit

    Permalink
    Definition Classes
    StateSup → Actor
  29. def receive: PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    StateSup → Actor
  30. def registerMonitor(mbean: ⇒ Any, siriusConfig: SiriusConfiguration)(implicit context: ActorContext): Unit

    Permalink

    If sirius is configured to do such, register mbean as an MBean

    If sirius is configured to do such, register mbean as an MBean

    The object name derived for this object is kept locally on this instance, and will be unregistered when unregisterMonitors is called.

    mbean

    A call-by-name parameter to get the mbean to register, if sirisConfiguration is not configured with an MBeanFactory, then this is not used, and thus not called

    siriusConfig

    Sirius's configuration, from which it is decided if mbean should be registered as an MBean

    context

    the ActorContext this is run from, note it is necessary that this is run within an Actor for this to be available

    Definition Classes
    MonitoringHooks
  31. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  32. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  33. val stateActor: ActorRef

    Permalink
  34. def supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    Actor
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Actor
  38. def unregisterMonitors(siriusConfig: SiriusConfiguration): Unit

    Permalink

    Unregister all MBeans registered by this instance

    Unregister all MBeans registered by this instance

    siriusConfig

    Sirius's configuration, from which it is decided if mbean should be registered as an MBean

    Definition Classes
    MonitoringHooks
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MonitoringHooks

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped