Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.glassfish.grizzly.http.server.filecache.FileCacheProbe

        org.glassfish.grizzly.http.server.filecache.FileCacheProbe.Adapter
    • Constructor Summary

      Constructors 
      Constructor Description
      FileCacheMonitor​(GrizzlyMonitoring grizzlyMonitoring, String monitoringId, org.glassfish.grizzly.http.server.filecache.FileCache config)  
    • 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 interface org.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 interface org.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 interface org.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 interface org.glassfish.grizzly.http.server.filecache.FileCacheProbe
      • onErrorEvent

        public void onErrorEvent​(org.glassfish.grizzly.http.server.filecache.FileCache fileCache,
                                 Throwable error)
        Specified by:
        onErrorEvent in interface org.glassfish.grizzly.http.server.filecache.FileCacheProbe