Interface SingleEntryCache<K,​V>

  • Type Parameters:
    K - the type the key
    V - the type of the entry
    All Superinterfaces:
    ResumeCache<K,​V>

    public interface SingleEntryCache<K,​V>
    extends ResumeCache<K,​V>
    A resume cache where a single key can only be mapped to a single entry
    • Method Detail

      • get

        Optional<V> get​(K key)
        Gets the offset value for the key
        Parameters:
        key - the key
        Returns:
        the key