Package com.axelor.cache
Class TenantAwareDistributedCache<K,V>
java.lang.Object
com.axelor.cache.TenantAwareCache<K,V>
com.axelor.cache.TenantAwareDistributedCache<K,V>
- Type Parameters:
K- the type of keys maintained by this cacheV- the type of mapped values
- All Implemented Interfaces:
AxelorCache<K,,V> Closeable,AutoCloseable,Iterable<Map.Entry<K,V>>
A distributed variant of
TenantAwareCache that uses TTL-based expiry instead of closing
the cache on eviction.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.axelor.cache.TenantAwareCache
asMap, cleanUp, clearExpire, close, estimatedSize, expire, get, get, getAll, getLock, invalidate, invalidateAll, iterator, put, putAll, remainTimeToLiveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TenantAwareDistributedCache
-