Class LocalFolderProfileMapCache

  • All Implemented Interfaces:
    org.gcube.application.cms.caches.Cache<String,​ProfileMap>, org.gcube.application.cms.caches.Engine<ProfileMap>

    public class LocalFolderProfileMapCache
    extends org.gcube.application.cms.caches.AbstractScopedMap<ProfileMap>
    • Constructor Detail

      • LocalFolderProfileMapCache

        public LocalFolderProfileMapCache​(String folderPath)
    • Method Detail

      • init

        public void init()
        Specified by:
        init in interface org.gcube.application.cms.caches.Engine<ProfileMap>
        Overrides:
        init in class org.gcube.application.cms.caches.AbstractScopedMap<ProfileMap>
      • dispose

        protected void dispose​(ProfileMap toDispose)
        Overrides:
        dispose in class org.gcube.application.cms.caches.TimedMap<String,​ProfileMap>
      • retrieveObject

        protected ProfileMap retrieveObject​(String context)
                                     throws org.gcube.application.geoportal.common.model.rest.ConfigurationException
        Specified by:
        retrieveObject in class org.gcube.application.cms.caches.TimedMap<String,​ProfileMap>
        Throws:
        org.gcube.application.geoportal.common.model.rest.ConfigurationException