Interface EntryLoader<K,​V>

  • Type Parameters:
    K - Key type
    V - Value type

    public interface EntryLoader<K,​V>
    Loads entries on demand.
    • Method Detail

      • load

        V load​(K key)
        Called to load a new value for the key into an expiring map.
        Parameters:
        key - to load a value for
        Returns:
        new value to load