public class CPUSamplerService extends AbstractService implements HarvestListener
Constructor and Description |
---|
CPUSamplerService() |
Modifier and Type | Method and Description |
---|---|
void |
afterHarvest(java.lang.String appName)
Called after the harvest.
|
void |
beforeHarvest(java.lang.String appName,
StatsEngine statsEngine)
Called before the harvest.
|
protected void |
doStart() |
protected void |
doStop() |
boolean |
isEnabled()
Is the service enabled.
|
getLogger, getName, isStarted, isStartedOrStarting, isStopped, isStoppedOrStopping, start, stop
protected void doStart()
doStart
in class AbstractService
protected void doStop()
doStop
in class AbstractService
public boolean isEnabled()
Service
public void beforeHarvest(java.lang.String appName, StatsEngine statsEngine)
HarvestListener
beforeHarvest
in interface HarvestListener
public void afterHarvest(java.lang.String appName)
HarvestListener
afterHarvest
in interface HarvestListener