Package org.cache2k

Interface KeyValueSource<K,​V>

  • All Superinterfaces:
    DataAware<K,​V>
    All Known Subinterfaces:
    Cache<K,​V>
    All Known Implementing Classes:
    AbstractCache, ForwardingCache

    public interface KeyValueSource<K,​V>
    extends DataAware<K,​V>
    Reduced interface to return a value selected by a key object. Cache users of a read-through cache may choose this simple interface for requesting data only, rather to use the full-blown cache interface.
    Author:
    Jens Wilke