public class CacheMonitoringScheduler extends TimerTask implements Initializable, Serviceable, Disposable, LogEnabled
Modifier and Type | Field and Description |
---|---|
protected ResourceStatisticsComponent |
_cacheStatsUpdater
Cache stats updater
|
protected Logger |
_logger
Logger
|
protected ResourceAccessComponent |
_resourceAccessMonitor
Resource Access Monitor
|
protected Timer |
_timer
Timer.
|
Constructor and Description |
---|
CacheMonitoringScheduler() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
enableLogging(Logger logger) |
void |
initialize() |
void |
run() |
void |
service(ServiceManager manager) |
cancel, scheduledExecutionTime
protected ResourceAccessComponent _resourceAccessMonitor
protected ResourceStatisticsComponent _cacheStatsUpdater
public CacheMonitoringScheduler()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public void enableLogging(Logger logger)
enableLogging
in interface LogEnabled
public void initialize() throws Exception
initialize
in interface Initializable
Exception
public void dispose()
dispose
in interface Disposable