public interface RetentionPolicy<K,V>
Created by Jeff Gaynor
on Nov 11, 2010 at 1:03:54 PM
Modifier and Type | Method and Description |
---|---|
boolean |
applies()
If this applies to the current cache.
|
Map<K,V> |
getMap()
The cache to which this policy is applied.
|
boolean |
retain(K key,
V value) |
boolean applies()
retain(Object, Object)
method will be applied to each element of the cache. When false, this policy will be skipped.
Copyright © 2019. All Rights Reserved.