接口 CacheableFilter<P extends Props>
- 类型参数:
P- The EntityProps type generated by apt
- 所有超级接口:
Filter<P>,org.babyfish.jimmer.sql.cache.PropCacheInvalidator
- 所有已知子接口:
ShardingCacheableFilter<P>
public interface CacheableFilter<P extends Props>
extends Filter<P>, org.babyfish.jimmer.sql.cache.PropCacheInvalidator
Global filter which can work with multi-view cache for java, Kotlin developer should use `KCacheableFilter<E>`
-
方法概要
修饰符和类型方法说明Return the sub keys of association cache for multi-view cachedefault voidinitialize(JSqlClient sqlClient) booleanisAffectedBy(EntityEvent<?> e) Is the association cache affected by the change of CURRENT table?从接口继承的方法 org.babyfish.jimmer.sql.cache.PropCacheInvalidator
getAffectedSourceIds, getAffectedSourceIds
-
方法详细资料
-
getParameters
Return the sub keys of association cache for multi-view cache- 返回:
- The sub key map
- 另请参阅:
-
isAffectedBy
Is the association cache affected by the change of CURRENT table?- 参数:
e- The change event of CURRENT table- 返回:
- Whether the association cache should be affected
-
initialize
- 参数:
sqlClient-
-