Class MondrianCatalogCache
- java.lang.Object
-
- org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogCache
-
- All Implemented Interfaces:
Serializable
public class MondrianCatalogCache extends Object implements Serializable
represents the entire regional cache structure for caching Mondrian Catalogs. The cache is optimized so it can be built incrementally, one catalog at a time, or fully depending upon demands. The tracks whether and and when the cache was fully loaded.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MondrianCatalogCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MondrianCatalog
getCatalog(String context)
Map<String,MondrianCatalog>
getCatalogs()
MondrianCatalogCacheState
getMondrianCatalogCacheState()
void
putCatalog(String key, MondrianCatalog catalog)
void
setCatalogs(Map<String,MondrianCatalog> catalogs)
void
setFullLoad()
void
setMondrianCatalogCacheState(MondrianCatalogCacheState mondrianCatalogCacheState)
-
-
-
Method Detail
-
getMondrianCatalogCacheState
public MondrianCatalogCacheState getMondrianCatalogCacheState()
-
setMondrianCatalogCacheState
public void setMondrianCatalogCacheState(MondrianCatalogCacheState mondrianCatalogCacheState)
-
getCatalogs
public Map<String,MondrianCatalog> getCatalogs()
-
setCatalogs
public void setCatalogs(Map<String,MondrianCatalog> catalogs)
-
putCatalog
public void putCatalog(String key, MondrianCatalog catalog)
-
getCatalog
public MondrianCatalog getCatalog(String context)
-
setFullLoad
public void setFullLoad()
-
-