All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.context.EntryLookup Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.context;

import org.infinispan.container.entries.CacheEntry;

import java.util.Map;

/**
 * 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. *

* @return a map of looked up entries. */ Map getLookedUpEntries(); /** * Puts an entry in the registry of looked up entries in the current scope. *

* * @param key key to store * @param e entry to store */ void putLookedUpEntry(Object key, CacheEntry e); void removeLookedUpEntry(Object key); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy