K
- The type of the cache map keysV
- The type of the cache map valuespublic interface ICacheEntryValidityChecker<K,V> extends Serializable
Defines the logic needed to (optionally) validate an entry living in an
ICache
object before returning it as the result of a get
operation. If not valid, the entry will be removed
from the cache (and null will be returned).
Modifier and Type | Method and Description |
---|---|
boolean |
checkIsValueStillValid(K key,
V value,
long entryCreationTimestamp) |
Copyright © 2016 The THYMELEAF team. All rights reserved.