类 RedisCacheCreator
java.lang.Object
org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator
org.babyfish.jimmer.sql.cache.redis.spring.RedisCacheCreator
- 所有已实现的接口:
CacheCreator
-
嵌套类概要
从类继承的嵌套类/接口 org.babyfish.jimmer.sql.cache.spi.AbstractCacheCreator
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 -
构造器概要
构造器限定符构造器说明protectedRedisCacheCreator(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory) RedisCacheCreator(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
方法概要
修饰符和类型方法说明<K,V> Cache<K, V> createForObject(org.babyfish.jimmer.meta.ImmutableType type) <K,V> Cache<K, V> createForProp(org.babyfish.jimmer.meta.ImmutableProp prop, boolean multiView) protected org.babyfish.jimmer.sql.cache.redis.spring.RedisCacheCreator.Argsprotected CacheCreator从类继承的方法 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
-
-
方法详细资料
-
createForObject
-
createForProp
public <K,V> Cache<K,V> createForProp(org.babyfish.jimmer.meta.ImmutableProp prop, boolean multiView) -
newArgs
protected org.babyfish.jimmer.sql.cache.redis.spring.RedisCacheCreator.Args newArgs(AbstractCacheCreator.Cfg cfg) - 指定者:
newArgs在类中AbstractCacheCreator
-
newCacheCreator
- 指定者:
newCacheCreator在类中AbstractCacheCreator
-