object Cpu extends Serializable
- Source
- Metric.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Cpu
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
unapply(nodeMetrics: NodeMetrics): Option[(Address, Long, Option[Double], Option[Double], Option[Double], Int)]
Given a NodeMetrics it returns the Cpu data if the nodeMetrics contains necessary cpu metrics.
Given a NodeMetrics it returns the Cpu data if the nodeMetrics contains necessary cpu metrics.
- returns
if possible a tuple matching the Cpu constructor parameters