pull/860/head
Nikita 8 years ago
parent 8e29482444
commit e75f4f5226

@ -41,6 +41,7 @@ public class LocalCachedMapOptions {
* Invalidate cache entry across all LocalCachedMap instances on map entry change. * Invalidate cache entry across all LocalCachedMap instances on map entry change.
* <p> * <p>
* Clear cache if LocalCachedMap instance has been disconnected for a while. * Clear cache if LocalCachedMap instance has been disconnected for a while.
* It's applied to avoid stale objects in cache.
*/ */
ON_CHANGE_WITH_CLEAR_ON_RECONNECT, ON_CHANGE_WITH_CLEAR_ON_RECONNECT,
@ -51,6 +52,7 @@ public class LocalCachedMapOptions {
* Cache keys for stored invalidated entry hashes will be removed * Cache keys for stored invalidated entry hashes will be removed
* if LocalCachedMap instance has been disconnected less than 10 minutes * if LocalCachedMap instance has been disconnected less than 10 minutes
* or whole cache will be cleaned otherwise. * or whole cache will be cleaned otherwise.
* It's applied to avoid stale objects in cache.
*/ */
ON_CHANGE_WITH_LOAD_ON_RECONNECT ON_CHANGE_WITH_LOAD_ON_RECONNECT
} }

Loading…
Cancel
Save