Class NamespaceCategoriesCache
- java.lang.Object
-
- org.gcube.common.metadataprofilediscovery.NamespaceCategoriesCache
-
public class NamespaceCategoriesCache extends Object
The Class NamespaceCategoriesCache.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Mar 3, 2022
-
-
Constructor Summary
Constructors Constructor Description NamespaceCategoriesCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NamespaceCategoriesget(String scope)Gets the VRE obj for input VRE name.com.google.common.cache.LoadingCache<String,NamespaceCategories>getCache()Gets the cache.protected static NamespaceCategoriesloadNamespaces(String scope)Load VRE obj for VRE name.
-
-
-
Method Detail
-
get
public static NamespaceCategories get(String scope) throws ExecutionException
Gets the VRE obj for input VRE name.- Parameters:
scope- the scope- Returns:
- the vre
- Throws:
ExecutionException- the execution exception
-
loadNamespaces
protected static NamespaceCategories loadNamespaces(String scope)
Load VRE obj for VRE name.- Parameters:
scope- the scope- Returns:
- the vre
-
getCache
public com.google.common.cache.LoadingCache<String,NamespaceCategories> getCache()
Gets the cache.- Returns:
- the cache
-
-