Class RedissonCacheNativeBuilder<K,V>

java.lang.Object
com.axelor.cache.CacheBuilder<K,V>
com.axelor.cache.redisson.AbstractRedissonCacheBuilder<K,V,org.redisson.api.RMapCacheNative<K,V>,org.redisson.api.options.MapOptions<K,V>>
com.axelor.cache.redisson.RedissonCacheNativeBuilder<K,V>
Type Parameters:
K - the type of keys maintained by this cache
V - the type of mapped values

public class RedissonCacheNativeBuilder<K,V> extends AbstractRedissonCacheBuilder<K,V,org.redisson.api.RMapCacheNative<K,V>,org.redisson.api.options.MapOptions<K,V>>
Redisson cache with native eviction builder

This builds an AxelorCache wrapping a RMapCacheNative.

Weak references are not supported in Redisson collections. When either weakKeys or weakValues are used, TTL is set in order to approximate the behavior.

  • Constructor Details

    • RedissonCacheNativeBuilder

      public RedissonCacheNativeBuilder(String cacheName)
  • Method Details