Package com.microstrategy.web.objects
Class ProjectCacheBase
- java.lang.Object
 - 
- com.microstrategy.utils.cache.CacheBase
 - 
- com.microstrategy.web.objects.ProjectCacheBase
 
 
 
- 
- All Implemented Interfaces:
 Cache
- Direct Known Subclasses:
 BaseGraphStylePropertiesCache,EmptySchemaSearchCache,NamedFolderIDCache,SysDimensionCache
public abstract class ProjectCacheBase extends CacheBase
- Since:
 - MicroStrategy Web 7.3.1 or earlier
 
 
- 
- 
Field Summary
- 
Fields inherited from class com.microstrategy.utils.cache.CacheBase
alias, DEFAULT_FILE_REFRESH_TIME, DEFAULT_REFRESH_TIME, DEFAULT_STATISTIC_TIME, DEFAULT_SYS_TIMEOUT, DEFAULT_USER_TIMEOUT, NO_KEY, NO_REFRESH, NO_STATISTIC, NO_TIMEOUT 
 - 
 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedProjectCacheBase(java.lang.String pName)protectedProjectCacheBase(java.lang.String pName, boolean softRefs, int timeout, int refresh)protectedProjectCacheBase(java.lang.String pName, boolean softRefs, int timeout, int refresh, java.lang.String alias)protectedProjectCacheBase(java.lang.String pName, java.lang.String alias) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static WebIServerSession[]getClusteredServers(WebIServerSession currentSession)protected java.lang.ObjectgetKey(CacheHint hint)Overridable.protected voidstore(CacheHint hint, java.lang.Object ob)Overridable.protected voidstore(WebIServerSession session, java.lang.Object ob)- 
Methods inherited from class com.microstrategy.utils.cache.CacheBase
canUpdate, clear, close, configure, contains, delete, get, getName, getRefreshTime, getStatisticTime, getTimeout, getWithoutRefresh, load, logStatistic, onHintClose, onTimer, put, refresh, reLoad, remove, save, setRefreshTime, setStatisticTime, setTimeout, size, unLoad 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ProjectCacheBase
protected ProjectCacheBase(java.lang.String pName, boolean softRefs, int timeout, int refresh)- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
ProjectCacheBase
protected ProjectCacheBase(java.lang.String pName, boolean softRefs, int timeout, int refresh, java.lang.String alias)- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
ProjectCacheBase
protected ProjectCacheBase(java.lang.String pName)
 
- 
ProjectCacheBase
protected ProjectCacheBase(java.lang.String pName, java.lang.String alias)- Since:
 - MicroStrategy Web 9.0.0
 
 
 - 
 
- 
Method Detail
- 
getKey
protected java.lang.Object getKey(CacheHint hint) throws CacheException
Description copied from class:CacheBaseOverridable. Extracts from the hint object the key that shall be used to identify the cached object.- Specified by:
 getKeyin classCacheBase- Parameters:
 hint- the hint object.- Returns:
 - the key
 - Throws:
 CacheException- if somethig gos wrong.
 
- 
store
protected final void store(CacheHint hint, java.lang.Object ob) throws CacheException
Description copied from class:CacheBaseOverridable. Saves cached object in the persistent storage.- Overrides:
 storein classCacheBase- Parameters:
 hint- the hint object.ob- the object to save.- Throws:
 CacheException- if somethig gos wrong.- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
store
protected void store(WebIServerSession session, java.lang.Object ob) throws CacheException
- Throws:
 CacheException- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
getClusteredServers
protected static WebIServerSession[] getClusteredServers(WebIServerSession currentSession)
- Since:
 - MicroStrategy Web 8.0.1
 
 
 - 
 
 -