Class RedissonCacheNative<K,V>

java.lang.Object
com.axelor.cache.redisson.AbstractRedissonCache<K,V,org.redisson.api.RMapCacheNative<K,V>>
com.axelor.cache.redisson.RedissonCacheNative<K,V>
Type Parameters:
K - the type of keys maintained by this cache
V - the type of mapped values
All Implemented Interfaces:
AxelorCache<K,V>, Closeable, AutoCloseable, Iterable<Map.Entry<K,V>>

public class RedissonCacheNative<K,V> extends AbstractRedissonCache<K,V,org.redisson.api.RMapCacheNative<K,V>>
Redisson cache with native eviction

This wraps a RMapCache.

Setting TTL requires HPEXPIRE command support introduced in Redis 7.4.

  • Constructor Details

    • RedissonCacheNative

      public RedissonCacheNative(org.redisson.api.RMapCacheNative<K,V> cache)
  • Method Details