Class TimedMap<K,​V>

  • All Implemented Interfaces:
    Cache<K,​V>
    Direct Known Subclasses:
    AbstractScopedMap

    public abstract class TimedMap<K,​V>
    extends Object
    implements Cache<K,​V>
    • Constructor Detail

      • TimedMap

        public TimedMap()
    • Method Detail

      • get

        public V get​(K key)
              throws org.gcube.application.geoportal.common.model.rest.ConfigurationException
        Specified by:
        get in interface Cache<K,​V>
        Throws:
        org.gcube.application.geoportal.common.model.rest.ConfigurationException
      • retrieveObject

        protected abstract V retrieveObject​(K key)
                                     throws org.gcube.application.geoportal.common.model.rest.ConfigurationException
        Throws:
        org.gcube.application.geoportal.common.model.rest.ConfigurationException
      • dispose

        protected void dispose​(V toDispose)