Interface ImageCacheListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
ImageCacheStatistics

public interface ImageCacheListener extends EventListener
This interface can be implemented by classes which want to know what's going on inside the image cache.
  • Method Details

    • invalidHit

      void invalidHit(String uri)
      An URi previously identified as invalid was requested again
      Parameters:
      uri - the invalid URI
    • cacheHitImageInfo

      void cacheHitImageInfo(String uri)
      An ImageInfo was found in the cache
      Parameters:
      uri - the image's URI
    • cacheMissImageInfo

      void cacheMissImageInfo(String uri)
      An ImageInfo was not in the cache
      Parameters:
      uri - the image's URI
    • cacheHitImage

      void cacheHitImage(ImageKey key)
      An Image was found in the cache
      Parameters:
      key - the image key
    • cacheMissImage

      void cacheMissImage(ImageKey key)
      An Image was not in the cache
      Parameters:
      key - the image key