org.rhq.plugins.platform
Class CpuComponent

java.lang.Object
  extended by org.rhq.plugins.platform.CpuComponent
All Implemented Interfaces:
AvailabilityFacet, ResourceComponent<PlatformComponent>, MeasurementFacet

public class CpuComponent
extends Object
implements ResourceComponent<PlatformComponent>, MeasurementFacet

A Resource component representing a CPU core.


Constructor Summary
CpuComponent()
           
 
Method Summary
 org.rhq.core.domain.measurement.AvailabilityType getAvailability()
           
 void getValues(org.rhq.core.domain.measurement.MeasurementReport report, Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
           
 void start(ResourceContext<PlatformComponent> resourceContext)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CpuComponent

public CpuComponent()
Method Detail

start

public void start(ResourceContext<PlatformComponent> resourceContext)
Specified by:
start in interface ResourceComponent<PlatformComponent>

stop

public void stop()
Specified by:
stop in interface ResourceComponent<PlatformComponent>

getAvailability

public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
Specified by:
getAvailability in interface AvailabilityFacet

getValues

public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
                      Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
Specified by:
getValues in interface MeasurementFacet


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.