Interface AdvancedCacheLoader<K,​V>

  • All Superinterfaces:
    Customization, DataAware<K,​V>, DataAwareCustomization<K,​V>

    public interface AdvancedCacheLoader<K,​V>
    extends DataAwareCustomization<K,​V>
    Retrieves or generates a value to load into the cache. The advanced loader interface contains the current time and the previous cache entry. The previous cache entry can be used for a more intelligent loading strategy, e.g. for HTTP based loading with the If-Modified-Since header.

    For general documentation on the loader, please see CacheLoader.

    Since:
    2
    Author:
    Jens Wilke
    See Also:
    CacheLoader