Package com.axelor.cache.redisson
Class AbstractRedissonCacheBuilder<K,V,M extends org.redisson.api.RMap<K,V>,O extends org.redisson.api.options.ExMapOptions<?,K,V>>
java.lang.Object
com.axelor.cache.CacheBuilder<K,V>
com.axelor.cache.redisson.AbstractRedissonCacheBuilder<K,V,M,O>
- Direct Known Subclasses:
RedissonCacheBuilder,RedissonCacheNativeBuilder
public abstract class AbstractRedissonCacheBuilder<K,V,M extends org.redisson.api.RMap<K,V>,O extends org.redisson.api.options.ExMapOptions<?,K,V>>
extends CacheBuilder<K,V>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractRedissonCacheBuilder(CacheBuilder<K, V> builder) protectedAbstractRedissonCacheBuilder(String cacheName) -
Method Summary
Modifier and TypeMethodDescription<K1 extends K,V1 extends V>
AxelorCache<K1, V1> buildCache(String name) <K1 extends K,V1 extends V>
AxelorCache<K1, V1> buildCache(String name, CacheLoader<? super K1, V1> loader) protected voidconfigureCache(AbstractRedissonCache<K, V, M> cache) protected abstract MnewMapCache(O options) protected abstract OnewOptions(String name) protected abstract AbstractRedissonCache<K, V, M> newRedissonCache(M cache) Methods inherited from class com.axelor.cache.CacheBuilder
build, build, expireAfterAccess, expireAfterWrite, fromCacheName, getCacheName, getCacheProviderInfo, getCacheType, getExpireAfterAccess, getExpireAfterWrite, getMaximumSize, getRemovalListener, isTenantAware, isWeakKeys, isWeakValues, maximumSize, newBuilder, newInMemoryBuilder, nonTenantAware, removalListener, weakKeys, weakValues
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
AbstractRedissonCacheBuilder
-
AbstractRedissonCacheBuilder
-
-
Method Details
-
buildCache
- Specified by:
buildCachein classCacheBuilder<K,V>
-
buildCache
public <K1 extends K,V1 extends V> AxelorCache<K1,V1> buildCache(String name, CacheLoader<? super K1, V1> loader) - Specified by:
buildCachein classCacheBuilder<K,V>
-
newOptions
-
newMapCache
-
newRedissonCache
-
configureCache
-