org.ehcache.core.spi.cache.tiering
Interface HigherCachingTier<K,V>

All Superinterfaces:
CachingTier<K,V>, ConfigurationChangeSupport

public interface HigherCachingTier<K,V>
extends CachingTier<K,V>

HigherCachingTier


Nested Class Summary
static interface HigherCachingTier.Provider
           
 
Nested classes/interfaces inherited from interface org.ehcache.core.spi.cache.tiering.CachingTier
CachingTier.InvalidationListener<K,V>
 
Method Summary
 void silentInvalidate(K key, Function<Store.ValueHolder<V>,java.lang.Void> function)
          Removes a mapping without firing an invalidation event, then calls the function under the same lock scope passing in the mapping or null if none was present.
 
Methods inherited from interface org.ehcache.core.spi.cache.tiering.CachingTier
clear, getOrComputeIfAbsent, invalidate, setInvalidationListener
 
Methods inherited from interface org.ehcache.core.spi.cache.ConfigurationChangeSupport
getConfigurationChangeListeners
 

Method Detail

silentInvalidate

void silentInvalidate(K key,
                      Function<Store.ValueHolder<V>,java.lang.Void> function)
                      throws CacheAccessException
Removes a mapping without firing an invalidation event, then calls the function under the same lock scope passing in the mapping or null if none was present.

Parameters:
key - the key.
function - the function to call.
Throws:
CacheAccessException