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

org.infinispan.eviction.EvictionManager Maven / Gradle / Ivy

package org.infinispan.eviction;

import java.util.Map;

import org.infinispan.container.entries.InternalCacheEntry;
import org.infinispan.factories.scopes.Scope;
import org.infinispan.factories.scopes.Scopes;

import net.jcip.annotations.ThreadSafe;

/**
 * Central component that deals with eviction of cache entries.
 * 

* This manager only controls notifications of when entries are evicted. *

* @author Manik Surtani * @since 4.0 */ @ThreadSafe @Scope(Scopes.NAMED_CACHE) public interface EvictionManager { /** * Handles notifications of evicted entries * @param evicted The entries that were just evicted */ void onEntryEviction(Map> evicted); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy