Interface ConfigCache

  • All Known Implementing Classes:
    ConfigCacheImpl

    public interface ConfigCache
    Interface to access SQLStore config information.
    Author:
    Marina Vatkina
    • Method Detail

      • getPersistenceConfig

        PersistenceConfig getPersistenceConfig​(Class pcClass)
        Get the PersistenceConfig for given pcClass. The config is looked up from a cache. If a config can not be found in cache, a new instance is created and returned.
        Parameters:
        pcClass - The input pcClass.
        Returns:
        PersistenceConfig for given pcClass.
      • getClassByOidClass

        Class getClassByOidClass​(Class oidType)
        Gets the Class instance corresponding to given oidType.
        Parameters:
        oidType - The input oidType.
        Returns:
        The Class instance corresponding to given oidType.
      • setVersionConsistencyCache

        void setVersionConsistencyCache​(VersionConsistencyCache vcCache)
        Sets VersionConsistencyCache field.
        Parameters:
        vcCache - the VersionConsistencyCache instance.