Interface CacheSource
- 
- All Superinterfaces:
- IncrementalFetchSettings,- MonitorSource
 
 public interface CacheSource extends IncrementalFetchSettings, MonitorSource The interfaceCacheSourceis the entry point to retrieve and manipulate caches.- Since:
- MicroStrategy Web 9.0.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description CacheResultsgetCaches()Retrieves the cache information.CacheResultsOnServerLevelgetCachesOnServerLevel(java.lang.String nodeName, java.lang.String pollStateId)THIS METHOD IS NOT SUPPORTED FOR USE IN CUSTOM APPLICATION DEVELOPMENT.CacheManipulatorgetManipulator()Returns theCacheManipulatorobject to kill jobs.voidpurgeCache(int purgeFlag)Purge caches of all the projects associated with the current session.voidpurgeCache(java.lang.String projectDSSID, int purgeFlag)Purge caches of the specified project in the current session.- 
Methods inherited from interface com.microstrategy.web.objects.admin.monitors.IncrementalFetchSettingsgetBlockBegin, getBlockCount, setBlockBegin, setBlockCount
 - 
Methods inherited from interface com.microstrategy.web.objects.admin.monitors.MonitorSourcegetCountSettings, getFilter, getLevel, getSortCriteria, getType, reset, setLevel
 
- 
 
- 
- 
- 
Method Detail- 
getCachesCacheResults getCaches() throws WebObjectsAdminException Retrieves the cache information. notes: here fetching caches on project level.- Returns:
- a list fo cache information.
- Throws:
- WebObjectsAdminException- thrown if there is any error occurred.
 
 - 
getCachesOnServerLevelCacheResultsOnServerLevel getCachesOnServerLevel(java.lang.String nodeName, java.lang.String pollStateId) throws WebObjectsAdminException THIS METHOD IS NOT SUPPORTED FOR USE IN CUSTOM APPLICATION DEVELOPMENT. THE METHOD IS SUBJECT TO CHANGE IN FUTURE RELEASES AND SOME METHODS AND PROPERTIES MAY NOT BE SUITABLE FOR CUSTOM DEVELOPMENT.Retrieves certain server' cache information on IServer level. if specify the pollStateId, the IServer will also return the cube cache manipulation status info back. - Parameters:
- nodeName- specify cluster node for fetching caches.
- pollStateId- the poll state id related to the cache manipulation process.
- Returns:
- cube cache manipulation status CacheManipulationStatusin CacheResults.
- Throws:
- WebObjectsAdminException- thrown if there is any error occurred.
 
 - 
getManipulatorCacheManipulator getManipulator() Returns theCacheManipulatorobject to kill jobs.- Returns:
- the CacheManipulatorobject
 
 - 
purgeCachevoid purgeCache(java.lang.String projectDSSID, int purgeFlag) throws WebObjectsAdminExceptionPurge caches of the specified project in the current session.- Parameters:
- projectDSSID- the project DSSID.
- purgeFlag- a value from- EnumDSSXMLPurgeFlag
- Throws:
- WebObjectsAdminException- thrown if there is any error occurred.
 
 - 
purgeCachevoid purgeCache(int purgeFlag) throws WebObjectsAdminExceptionPurge caches of all the projects associated with the current session.- Parameters:
- purgeFlag- a value from- EnumDSSXMLPurgeFlag
- Throws:
- WebObjectsAdminException- thrown if there is any error occurred.
 
 
- 
 
-