use of com.sun.enterprise.v3.services.impl.monitor.FileCacheMonitor in project Payara by payara.
the class GlassfishNetworkListener method configureHttpFileCache.
@Override
protected FileCache configureHttpFileCache(org.glassfish.grizzly.config.dom.FileCache cache) {
final FileCache fileCache = super.configureHttpFileCache(cache);
fileCache.getMonitoringConfig().addProbes(new FileCacheMonitor(grizzlyService.getMonitoring(), name, fileCache));
return fileCache;
}
Aggregations