public class GCService extends AbstractService implements HarvestListener
logger
Constructor and Description |
---|
GCService() |
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
public boolean isEnabled()
Service
protected void doStart()
doStart
in class AbstractService
protected void doStop()
doStop
in class AbstractService
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