Class LoadingMapOfScopeCache


  • public class LoadingMapOfScopeCache
    extends Object
    The Class LoadingMapOfScopeCache.
    Author:
    Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) May 13, 2019
    • Constructor Detail

      • LoadingMapOfScopeCache

        public LoadingMapOfScopeCache()
    • Method Detail

      • get

        public static org.gcube.common.scope.impl.ScopeBean get​(String scopeName)
                                                         throws ExecutionException
        Gets the.
        Parameters:
        scopeName - the scope name
        Returns:
        the scope bean
        Throws:
        ExecutionException - the execution exception
      • loadFullScopeforScopeName

        protected static org.gcube.common.scope.impl.ScopeBean loadFullScopeforScopeName​(String scopeName)
        Load full scopefor scope name.
        Parameters:
        scopeName - the scope name
        Returns:
        the scope bean
      • getCache

        public com.google.common.cache.LoadingCache<String,​org.gcube.common.scope.impl.ScopeBean> getCache()
        Gets the cache.
        Returns:
        the cache