org.powerapi.core

MonitorChannel

object MonitorChannel extends Channel

Monitor channel and messages.

Linear Supertypes
Channel, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MonitorChannel
  2. Channel
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type M = MonitorMessage

    Definition Classes
    MonitorChannelChannel
  2. case class MonitorAggFunction(topic: String, muid: UUID, aggFunction: (Seq[Power]) ⇒ Power) extends MonitorMessage with Product with Serializable

    MonitorAggFunction is represented as a dedicated type of message.

  3. trait MonitorMessage extends Message

  4. case class MonitorStart(topic: String, muid: UUID, frequency: FiniteDuration, targets: List[Target]) extends MonitorMessage with Product with Serializable

    MonitorStart is represented as a dedicated type of message.

  5. case class MonitorStop(topic: String, muid: UUID) extends MonitorMessage with Product with Serializable

    MonitorStop is represented as a dedicated type of message.

  6. case class MonitorStopAll(topic: String) extends MonitorMessage with Product with Serializable

    MonitorStopAll is represented as a dedicated type of message.

  7. case class MonitorTick(topic: String, muid: UUID, target: Target, tick: ClockTick) extends MonitorMessage with Product with Serializable

    MonitorTick is represented as a dedicated type of message.

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. object MonitorStarted

    Acknowledgement message.

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def formatMonitorChildName(muid: UUID): String

    Use to format the MonitorChild name.

  11. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  17. def publish(message: M)(bus: EventBus): Unit

    Attributes
    protected
    Definition Classes
    Channel
  18. def publishMonitorTick(muid: UUID, target: Target, tick: ClockTick): (MessageBus) ⇒ Unit

    Internal methods used by the MonitorChild actors for interacting with the bus.

  19. def setAggFunction(muid: UUID, aggFunction: (Seq[Power]) ⇒ Power): (MessageBus) ⇒ Unit

  20. def startMonitor(muid: UUID, frequency: FiniteDuration, targets: List[Target]): (MessageBus) ⇒ Unit

    External Methods used by the API (or a Monitor object) for interacting with the bus.

  21. def stopAllMonitor: (MessageBus) ⇒ Unit

  22. def stopMonitor(muid: UUID): (MessageBus) ⇒ Unit

  23. def subscribe(topic: String)(bus: EventBus)(subscriber: ActorRef): Unit

    Attributes
    protected
    Definition Classes
    Channel
  24. def subscribeMonitorTick: (MessageBus) ⇒ (ActorRef) ⇒ Unit

    External methods used by the Sensor actors for interacting with the bus.

  25. def subscribeMonitorsChannel: (MessageBus) ⇒ (ActorRef) ⇒ Unit

    Internal methods used by the Monitors actor for interacting with the bus.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. def unsubscribe(topic: String)(bus: EventBus)(subscriber: ActorRef): Unit

    Attributes
    protected
    Definition Classes
    Channel
  29. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Channel

Inherited from AnyRef

Inherited from Any

Ungrouped