org.infinispan.commons.util.PeekableMap Maven / Gradle / Ivy
package org.infinispan.commons.util;
import java.util.Map;
/**
*
* @param
* @param
* @deprecated since 11.0 with no replacement - no longer used
*/
@Deprecated(forRemoval = true)
public interface PeekableMap extends Map {
/**
* Peaks at a value for the given key. Note that this does not update any expiration or
* eviction information when this is performed on the map, unlike the get method.
* @param key The key to find the value for
* @return The value mapping to this key
*/
public V peek(Object key);
}