Interface ImageCacheListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
ImageCacheStatistics
This interface can be implemented by classes which want to know what's going on inside the
image cache.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheHitImage(ImageKey key) An Image was found in the cachevoidcacheHitImageInfo(String uri) An ImageInfo was found in the cachevoidcacheMissImage(ImageKey key) An Image was not in the cachevoidcacheMissImageInfo(String uri) An ImageInfo was not in the cachevoidinvalidHit(String uri) An URi previously identified as invalid was requested again
-
Method Details
-
invalidHit
An URi previously identified as invalid was requested again- Parameters:
uri- the invalid URI
-
cacheHitImageInfo
An ImageInfo was found in the cache- Parameters:
uri- the image's URI
-
cacheMissImageInfo
An ImageInfo was not in the cache- Parameters:
uri- the image's URI
-
cacheHitImage
An Image was found in the cache- Parameters:
key- the image key
-
cacheMissImage
An Image was not in the cache- Parameters:
key- the image key
-