Interface TouchableMap

    • Method Detail

      • touchKey

        boolean touchKey​(Object key,
                         long currentTimeMillis)
        Touches the entry for the given key in this map. This method will update any recency timestamps for both expiration or eviction as needed.
        Parameters:
        key - key to touch
        currentTimeMillis - the recency timestamp to set
        Returns:
        whether the entry was touched or not