org.powerapi.core

MonitorChild

Related Doc: package core

class MonitorChild extends ActorComponent

One child represents one monitor. Allows to publish messages in the right topics depending of the targets.

Linear Supertypes
ActorComponent, ActorLogging, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MonitorChild
  2. ActorComponent
  3. ActorLogging
  4. Actor
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MonitorChild(eventBus: MessageBus, muid: UUID, frequency: FiniteDuration, targets: List[Target])

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. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def aggregate(aggR: AggregatePowerReport, powerReport: RawPowerReport, aggF: (Seq[Power]) ⇒ Power): Unit

    Wait to retrieve power reports of all targets from a same monitor to aggregate them into once power report.

  5. def aroundPostRestart(reason: Throwable): Unit

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

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

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

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

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

    Definition Classes
    Any
  11. def clone(): AnyRef

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

    Definition Classes
    Actor
  13. def default: akka.actor.Actor.Receive

    Default behavior when a received message is unknown.

    Default behavior when a received message is unknown.

    Definition Classes
    ActorComponent
  14. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  20. def log: LoggingAdapter

    Definition Classes
    ActorLogging
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. def postRestart(reason: Throwable): Unit

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

    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  26. def preRestart(reason: Throwable, message: Option[Any]): Unit

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

    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  28. def produceMessages(tick: ClockTick): Unit

    Handle ticks for publishing the targets in the right topic.

  29. def receive: PartialFunction[Any, Unit]

    Definition Classes
    MonitorChild → Actor
  30. def running(aggR: AggregatePowerReport, aggFunction: (Seq[Power]) ⇒ Power): akka.actor.Actor.Receive

    Running state.

  31. implicit final val self: ActorRef

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

    Definition Classes
    Actor
  33. def setAggregatingFunction(aggR: AggregatePowerReport, aggF: (Seq[Power]) ⇒ Power): Unit

    Change the aggregating function for this monitor

  34. def start(): Unit

    Start the clock, subscribe on the associated topic for receiving tick messages and power reports.

  35. def stop(): Unit

    Publish a request for stopping the clock which is responsible to produce the ticks at this frequency, stop to listen ticks and power reports and kill the monitor actor.

  36. def supervisorStrategy: SupervisorStrategy

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

    Definition Classes
    AnyRef
  38. def toString(): String

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

    Definition Classes
    Actor
  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ActorComponent

Inherited from ActorLogging

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped