Package com.globalmentor.cache
Interface CacheFetchListener<Q,V>
- Type Parameters:
Q
- The type of query used to request data from the cache.V
- The type of value stored in the cache.
- All Superinterfaces:
EventListener
Indicates the implementing class can listen for a value being fetched in a cache.
- Author:
- Garret Wilson
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fetched
(CacheFetchEvent<Q, V> cacheFetchEvent) Called when a value is fetched in the cache.
-
Method Details
-
fetched
Called when a value is fetched in the cache.- Parameters:
cacheFetchEvent
- The event identifying the value fetched.
-