Class LoadingMapOfScopeCache
- java.lang.Object
-
- org.gcube.datatransfer.resolver.caches.LoadingMapOfScopeCache
-
public class LoadingMapOfScopeCache extends Object
The Class LoadingMapOfScopeCache.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) May 13, 2019
-
-
Constructor Summary
Constructors Constructor Description LoadingMapOfScopeCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.gcube.common.scope.impl.ScopeBeanget(String scopeName)Gets the.com.google.common.cache.LoadingCache<String,org.gcube.common.scope.impl.ScopeBean>getCache()Gets the cache.protected static org.gcube.common.scope.impl.ScopeBeanloadFullScopeforScopeName(String scopeName)Load full scopefor scope name.
-
-
-
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
-
-