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

public interface CacheFetchListener<Q,V> extends EventListener
Indicates the implementing class can listen for a value being fetched in a cache.
Author:
Garret Wilson
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fetched(CacheFetchEvent<Q,V> cacheFetchEvent)
    Called when a value is fetched in the cache.
  • Method Details

    • fetched

      void fetched(CacheFetchEvent<Q,V> cacheFetchEvent)
      Called when a value is fetched in the cache.
      Parameters:
      cacheFetchEvent - The event identifying the value fetched.