Package org.silverpeas.core.admin.space
Class SpaceInstLazyDataLoader
- java.lang.Object
-
- org.silverpeas.core.admin.space.SpaceInstLazyDataLoader
-
- All Implemented Interfaces:
Serializable
public class SpaceInstLazyDataLoader extends Object implements Serializable
This class handles the lazy loading of following data of a SpaceInst:- profiles
- sub spaces
- components
The aim of this lazy loading is about avoiding to walk through the entire space tree when loading a space from repository.
It permits to get rapidly a space from repository if not yet into cache, and to load later the linked data which are not necessary used just after repository get.Technically, if load has not yet been performed, then all data are loaded before performing process given to
safeRead(TriFunction)
orsafeWrite(TriConsumer)
method.- Author:
- silveryocha
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
load()
This method handles the load of the missing data.
-