public abstract class AbstractController extends java.lang.Object implements ProfilingTaskController
| Constructor and Description |
|---|
AbstractController(ProfilingTask delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProfile(ProfilerParameters parameters) |
void |
afterHarvest(java.lang.String appName)
Called after the harvest.
|
void |
beforeHarvest(java.lang.String appName,
StatsEngine statsEngine)
Called before the harvest.
|
protected int |
getProcessorCount() |
int |
getSamplePeriodInMillis() |
void |
removeProfile(ProfilerParameters parameters) |
void |
run() |
public AbstractController(ProfilingTask delegate)
protected int getProcessorCount()
public int getSamplePeriodInMillis()
getSamplePeriodInMillis in interface ProfilingTaskControllerpublic void run()
run in interface java.lang.Runnablepublic void beforeHarvest(java.lang.String appName,
StatsEngine statsEngine)
HarvestListenerbeforeHarvest in interface HarvestListenerpublic void afterHarvest(java.lang.String appName)
HarvestListenerafterHarvest in interface HarvestListenerpublic void addProfile(ProfilerParameters parameters)
addProfile in interface ProfilingTaskpublic void removeProfile(ProfilerParameters parameters)
removeProfile in interface ProfilingTask