Package io.jmix.core.impl
Class CachingLoadedPropertiesInfo
java.lang.Object
io.jmix.core.impl.CachingLoadedPropertiesInfo
- All Implemented Interfaces:
LoadedPropertiesInfo,Serializable
Implementation of
LoadedPropertiesInfo that caches information about loaded properties to avoid
expensive operations for the same instance and property.
Used by default for JPA entities.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisLoaded(Object entity, String property, PersistentAttributesLoadChecker checker) voidregisterProperty(String name, boolean loaded)
-
Constructor Details
-
CachingLoadedPropertiesInfo
public CachingLoadedPropertiesInfo()
-
-
Method Details
-
isLoaded
- Specified by:
isLoadedin interfaceLoadedPropertiesInfo
-
registerProperty
- Specified by:
registerPropertyin interfaceLoadedPropertiesInfo
-