接口 EntityDataCachingConfig
-
- 所有超级接口:
DomainDataCachingConfig
- 所有已知实现类:
EntityDataCachingConfigImpl
public interface EntityDataCachingConfig extends DomainDataCachingConfig
Specialized DomainDataCachingConfig describing the requested caching config for a particular entity hierarchy's state data- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Set<NavigableRole>getCachedTypes()The list of specific subclasses of the root that are actually written to cache.Supplier<Comparator>getVersionComparatorAccess()Access to the comparator to be used with the entity's version.booleanisVersioned()Mainly here to allow optimization of not having to know the actual comparator instance to use here yet.-
从接口继承的方法 org.hibernate.cache.cfg.spi.DomainDataCachingConfig
getAccessType, getNavigableRole, isMutable
-
-
-
-
方法详细资料
-
isVersioned
boolean isVersioned()
Mainly here to allow optimization of not having to know the actual comparator instance to use here yet. If this method returnstrue, then users can safely assume that accessinggetVersionComparatorAccess()will not produce a null Comparator later- 指定者:
isVersioned在接口中DomainDataCachingConfig
-
getVersionComparatorAccess
Supplier<Comparator> getVersionComparatorAccess()
Access to the comparator to be used with the entity's version. If the entity is not versioned, then this method returnsnull.
-
getCachedTypes
Set<NavigableRole> getCachedTypes()
The list of specific subclasses of the root that are actually written to cache.
-
-