Search in sources :

Example 1 with FileCacheMonitor

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;
}
Also used : FileCacheMonitor(com.sun.enterprise.v3.services.impl.monitor.FileCacheMonitor) FileCache(org.glassfish.grizzly.http.server.filecache.FileCache)

Aggregations

FileCacheMonitor (com.sun.enterprise.v3.services.impl.monitor.FileCacheMonitor)1 FileCache (org.glassfish.grizzly.http.server.filecache.FileCache)1