类 LettuceCache

java.lang.Object
net.oschina.j2cache.lettuce.LettuceCache
所有已实现的接口:
Cache, Level2Cache
直接已知子类:
LettuceGenericCache, LettuceHashCache

public abstract class LettuceCache extends Object implements Level2Cache
Lettuce 的基类,封装了普通 Redis 连接和集群 Redis 连接的差异
作者:
Winter Lau(javayou@gmail.com)
  • 字段详细资料

    • namespace

      protected String namespace
    • region

      protected String region
    • pool

      protected org.apache.commons.pool2.impl.GenericObjectPool<io.lettuce.core.api.StatefulConnection<String,byte[]>> pool
    • scanCount

      protected int scanCount
  • 构造器详细资料

    • LettuceCache

      public LettuceCache()
  • 方法详细资料

    • connect

      protected io.lettuce.core.api.StatefulConnection connect()
    • sync

      protected io.lettuce.core.api.sync.BaseRedisCommands sync(io.lettuce.core.api.StatefulConnection conn)