01: package ri.cache.eviction;
02:
03: import java.util.Collections;
04: import java.util.Map;
05:
06: import javax.cache.Cache;
07:
08: public class NullEvictionStrategy<K, V> extends
09: AbstractEvictionStrategy<K, V> {
10:
11: private final Map<K, V> emptyMap = Collections.emptyMap();
12:
13: public Map<K, V> evict(Cache c) {
14: return emptyMap;
15: }
16: }
|