Class ReactiveExpirationPolicy<Key, Value, ArgumentsBundle>
Expiration policy which evicts keys when they are requested.
When Cache.get operation is performed, policy will check if key it's expired and if so,
will evict it from cache, returning undefined to clients.
This kind of policy can be used if you have keys that will be often queried,
so the cache won't be polluted with expired entries that weren't queried for long time.
To solve the latest problem, you can use an additional LRU/LFU policy.
Expiration policy which evicts keys when they are requested.
When Cache.get operation is performed, policy will check if key it's expired and if so, will evict it from cache, returning
undefined
to clients.This kind of policy can be used if you have keys that will be often queried, so the cache won't be polluted with expired entries that weren't queried for long time. To solve the latest problem, you can use an additional LRU/LFU policy.