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 Summary
All 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.IncrementalFetchSettings
getBlockBegin, getBlockCount, setBlockBegin, setBlockCount
-
Methods inherited from interface com.microstrategy.web.objects.admin.monitors.MonitorSource
getCountSettings, getFilter, getLevel, getSortCriteria, getType, reset, setLevel
-
-
-
-
Method Detail
-
getCaches
CacheResults 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.
-
getCachesOnServerLevel
CacheResultsOnServerLevel 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.
-
getManipulator
CacheManipulator getManipulator()
Returns theCacheManipulatorobject to kill jobs.- Returns:
- the
CacheManipulatorobject
-
purgeCache
void 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 fromEnumDSSXMLPurgeFlag- Throws:
WebObjectsAdminException- thrown if there is any error occurred.
-
purgeCache
void purgeCache(int purgeFlag) throws WebObjectsAdminExceptionPurge caches of all the projects associated with the current session.- Parameters:
purgeFlag- a value fromEnumDSSXMLPurgeFlag- Throws:
WebObjectsAdminException- thrown if there is any error occurred.
-
-