类 RedisCacheCreator

java.lang.Object
org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator
org.babyfish.jimmer.spring.cache.RedisCacheCreator
所有已实现的接口:
org.babyfish.jimmer.sql.cache.CacheCreator

public class RedisCacheCreator extends org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator
  • 嵌套类概要

    从类继承的嵌套类/接口 org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator

    org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator.Cfg
  • 字段概要

    从类继承的字段 org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator

    cfg

    从接口继承的字段 org.babyfish.jimmer.sql.cache.CacheCreator

    DEFAULT_LOCAL_CACHE_MAX_SIZE, DEFAULT_LOCAL_DURATION, DEFAULT_REMOTE_DURATION, DEFAULT_REMOTE_DURATION_RANDOM_PERCENT
  • 构造器概要

    构造器
    限定符
    构造器
    说明
    protected
    RedisCacheCreator(org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator.Cfg cfg)
     
     
    RedisCacheCreator(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
     
     
    RedisCacheCreator(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    <K, V> org.babyfish.jimmer.sql.cache.Cache<K,V>
    createForObject(org.babyfish.jimmer.meta.ImmutableType type)
     
    <K, V> org.babyfish.jimmer.sql.cache.Cache<K,V>
    createForProp(org.babyfish.jimmer.meta.ImmutableProp prop, boolean multiView)
     
    protected org.babyfish.jimmer.spring.cache.RedisCacheCreator.Args
    newArgs(org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator.Cfg cfg)
     
    protected org.babyfish.jimmer.sql.cache.CacheCreator
    newCacheCreator(org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator.Cfg cfg)
     

    从类继承的方法 org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator

    args, withLocalCache, withLock, withMultiViewProperties, withRemoteDuration, withTracking

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 org.babyfish.jimmer.sql.cache.CacheCreator

    withHardLock, withLocalCache, withLocalCache, withMultiViewProperties, withoutLocalCache, withoutLock, withoutTracking, withRemoteDuration, withSoftLock
  • 构造器详细资料

    • RedisCacheCreator

      public RedisCacheCreator(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory)
    • RedisCacheCreator

      public RedisCacheCreator(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • RedisCacheCreator

      protected RedisCacheCreator(org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator.Cfg cfg)
  • 方法详细资料

    • createForObject

      public <K, V> org.babyfish.jimmer.sql.cache.Cache<K,V> createForObject(org.babyfish.jimmer.meta.ImmutableType type)
    • createForProp

      public <K, V> org.babyfish.jimmer.sql.cache.Cache<K,V> createForProp(org.babyfish.jimmer.meta.ImmutableProp prop, boolean multiView)
    • newArgs

      protected org.babyfish.jimmer.spring.cache.RedisCacheCreator.Args newArgs(org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator.Cfg cfg)
      指定者:
      newArgs 在类中 org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator
    • newCacheCreator

      protected org.babyfish.jimmer.sql.cache.CacheCreator newCacheCreator(org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator.Cfg cfg)
      指定者:
      newCacheCreator 在类中 org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator