org.terracotta.cache
Interface CacheEvictionListener
- All Known Implementing Classes:
- TerracottaDistributedCache
public interface CacheEvictionListener
Interface used for notifying eviction by Classes implementing CacheEvictionListenerSupport
- Author:
- Abhishek Sanoujam
evicted
void evicted(Object key,
Object value)
- Method called when elements are evicted.
Value may be null (e.g. with server map, for cases when eviction happened in L2 and L1 has no value associated with
the key)
- Parameters:
key - value -
Copyright © 2015 Terracotta, Inc.. All Rights Reserved.