Interface CheckedCache<K,​V,​E extends Exception>

  • Type Parameters:
    K - key type of cache (must be immutable)
    V - value type of cache (should, for monitoring, typically, be of "similar" size for all keys)
    E - exception type cache can throw
    All Superinterfaces:
    AutoCloseable, BaseCache<K,​V>
    All Known Implementing Classes:
    DelegatingNullSafeCheckedCache

    public interface CheckedCache<K,​V,​E extends Exception>
    extends BaseCache<K,​V>
    Cache of keys to values, for cache function which may throw a checked exception.

    See Cache for caches who's cache function never throw checked exceptions (i.e. only unchecked ones). Cache also has more general documentation which applies to this API as well.

    Author:
    Michael Vorburger.ch