类 CachesImpl
java.lang.Object
org.babyfish.jimmer.sql.cache.CachesImpl
- 所有已实现的接口:
Caches
-
构造器概要
构造器构造器说明CachesImpl(CachesImpl base, CacheDisableConfig cfg)CachesImpl(Triggers triggers, Map<org.babyfish.jimmer.meta.ImmutableType,Cache<?,?>> objectCacheMap, Map<org.babyfish.jimmer.meta.ImmutableProp,Cache<?,?>> propCacheMap, CacheOperator operator, BinLogParser binLogParser) -
方法概要
修饰符和类型方法说明<K, V> LocatedCache<K,V>getObjectCache(org.babyfish.jimmer.meta.ImmutableType type)Map<org.babyfish.jimmer.meta.ImmutableType,LocatedCache<?,?>>Map<org.babyfish.jimmer.meta.ImmutableProp,LocatedCache<?,?>><K, V> LocatedCache<K,V>getPropertyCache(org.babyfish.jimmer.meta.ImmutableProp prop)voidinvalidateByBinLog(String tableName, com.fasterxml.jackson.databind.JsonNode oldData, com.fasterxml.jackson.databind.JsonNode newData, Object reason)booleanisAffectedBy(String tableName)static Cachesof(Triggers triggers, Map<Class<?>,ScalarProvider<?,?>> scalarProviderMap, EntityManager entityManager, Consumer<CacheConfig> block)从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.babyfish.jimmer.sql.cache.Caches
getObjectCache, getPropertyCache, invalidateByBinLog
-
构造器详细资料
-
CachesImpl
public CachesImpl(Triggers triggers, Map<org.babyfish.jimmer.meta.ImmutableType,Cache<?,?>> objectCacheMap, Map<org.babyfish.jimmer.meta.ImmutableProp,Cache<?,?>> propCacheMap, CacheOperator operator, BinLogParser binLogParser) -
CachesImpl
-
-
方法详细资料
-
getObjectCacheMap
-
getPropCacheMap
-
getObjectCache
- 指定者:
getObjectCache在接口中Caches
-
getPropertyCache
- 指定者:
getPropertyCache在接口中Caches
-
isAffectedBy
- 指定者:
isAffectedBy在接口中Caches
-
invalidateByBinLog
public void invalidateByBinLog(String tableName, com.fasterxml.jackson.databind.JsonNode oldData, com.fasterxml.jackson.databind.JsonNode newData, Object reason)- 指定者:
invalidateByBinLog在接口中Caches
-
of
public static Caches of(Triggers triggers, Map<Class<?>,ScalarProvider<?,?>> scalarProviderMap, EntityManager entityManager, Consumer<CacheConfig> block)
-