Class 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) or safeWrite(TriConsumer) method.

    Author:
    silveryocha
    See Also:
    Serialized Form
    • Method Detail

      • load

        protected void load()
        This method handles the load of the missing data.