org.infinispan.context.EntryLookup Maven / Gradle / Ivy
package org.infinispan.context;
import java.util.Collection;
import java.util.Map;
import java.util.function.BiConsumer;
import org.infinispan.container.entries.CacheEntry;
import org.reactivestreams.Publisher;
/**
* Interface that can look up MVCC wrapped entries.
*
* @author Manik Surtani ([email protected])
* @since 4.0
*/
public interface EntryLookup {
/**
* Retrieves an entry from the collection of looked up entries in the current scope.
*
*
* @param key key to look up
* @return an entry, or null if it cannot be found.
*/
CacheEntry lookupEntry(Object key);
/**
* Retrieves a map of entries looked up within the current scope.
*
* Note: The key inside the {@linkplain CacheEntry} may be {@code null} if the key does not exist in the cache.
*
* @return a map of looked up entries.
*/
Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy