public class ExampleTakeCPUStateProbe extends BasicObjectStateProbe<ASimpleActiveResource,Long,javax.measure.quantity.Dimensionless>
ASimpleActiveResource as an example active resource.| Constructor and Description |
|---|
ExampleTakeCPUStateProbe(ASimpleActiveResource myCpu)
Default constructor.
|
takeMeasurement, takeMeasurementaddObserver, getMetricDesciption, isCompatibleWith, removeObserverpublic ExampleTakeCPUStateProbe(ASimpleActiveResource myCpu)
myCpu - The observer object is a CPU, thus, allowing to request its current jobs.