Class FileCacheMonitor
- java.lang.Object
-
- com.sun.enterprise.v3.services.impl.monitor.FileCacheMonitor
-
- All Implemented Interfaces:
org.glassfish.grizzly.http.server.filecache.FileCacheProbe
public class FileCacheMonitor extends Object implements org.glassfish.grizzly.http.server.filecache.FileCacheProbe
- Author:
- oleksiys
-
-
Constructor Summary
Constructors Constructor Description FileCacheMonitor(GrizzlyMonitoring grizzlyMonitoring, String monitoringId, org.glassfish.grizzly.http.server.filecache.FileCache config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onEntryAddedEvent(org.glassfish.grizzly.http.server.filecache.FileCache fileCache, org.glassfish.grizzly.http.server.filecache.FileCacheEntry entry)
void
onEntryHitEvent(org.glassfish.grizzly.http.server.filecache.FileCache fileCache, org.glassfish.grizzly.http.server.filecache.FileCacheEntry entry)
void
onEntryMissedEvent(org.glassfish.grizzly.http.server.filecache.FileCache fileCache, String host, String requestURI)
void
onEntryRemovedEvent(org.glassfish.grizzly.http.server.filecache.FileCache fileCache, org.glassfish.grizzly.http.server.filecache.FileCacheEntry entry)
void
onErrorEvent(org.glassfish.grizzly.http.server.filecache.FileCache fileCache, Throwable error)
-
-
-
Constructor Detail
-
FileCacheMonitor
public FileCacheMonitor(GrizzlyMonitoring grizzlyMonitoring, String monitoringId, org.glassfish.grizzly.http.server.filecache.FileCache config)
-
-
Method Detail
-
onEntryAddedEvent
public void onEntryAddedEvent(org.glassfish.grizzly.http.server.filecache.FileCache fileCache, org.glassfish.grizzly.http.server.filecache.FileCacheEntry entry)
- Specified by:
onEntryAddedEvent
in interfaceorg.glassfish.grizzly.http.server.filecache.FileCacheProbe
-
onEntryRemovedEvent
public void onEntryRemovedEvent(org.glassfish.grizzly.http.server.filecache.FileCache fileCache, org.glassfish.grizzly.http.server.filecache.FileCacheEntry entry)
- Specified by:
onEntryRemovedEvent
in interfaceorg.glassfish.grizzly.http.server.filecache.FileCacheProbe
-
onEntryHitEvent
public void onEntryHitEvent(org.glassfish.grizzly.http.server.filecache.FileCache fileCache, org.glassfish.grizzly.http.server.filecache.FileCacheEntry entry)
- Specified by:
onEntryHitEvent
in interfaceorg.glassfish.grizzly.http.server.filecache.FileCacheProbe
-
onEntryMissedEvent
public void onEntryMissedEvent(org.glassfish.grizzly.http.server.filecache.FileCache fileCache, String host, String requestURI)
- Specified by:
onEntryMissedEvent
in interfaceorg.glassfish.grizzly.http.server.filecache.FileCacheProbe
-
onErrorEvent
public void onErrorEvent(org.glassfish.grizzly.http.server.filecache.FileCache fileCache, Throwable error)
- Specified by:
onErrorEvent
in interfaceorg.glassfish.grizzly.http.server.filecache.FileCacheProbe
-
-