public interface EntityDataCachingConfig extends DomainDataCachingConfig
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
isVersioned()
Mainly here to allow optimization of not having to know the
actual comparator instance to use here yet.
|
getAccessType, getNavigableRole, isMutable
boolean isVersioned()
true
, then users can safely assume that
accessing getVersionComparatorAccess()
will
not produce a null Comparator laterisVersioned
in interface DomainDataCachingConfig
Supplier<Comparator> getVersionComparatorAccess()
null
.Set<NavigableRole> getCachedTypes()
Copyright © 2018 JBoss by Red Hat. All rights reserved.