Interface CacheResults
- 
- All Superinterfaces:
 MonitorResults
public interface CacheResults extends MonitorResults
The interfaceCacheResultsrepresents the result of a cache retrieval.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidalter(Cache[] caches, int action)Manipulates the caches with the specified cache administration action.Cachesget(int i)Returns theCachesobject at the specified index.booleanisServerLevel()Returns flag for control fetching caches on IServer level or not.Cachesitem(java.lang.String projectDSSID)Returns theCachesobject by the specified project DSSID.intsize()Returns the number ofCachesin the current collection.- 
Methods inherited from interface com.microstrategy.web.objects.admin.monitors.MonitorResults
elements, getCount, getCountSummary, getLevel, getServerBusyIndicator, getTotal 
 - 
 
 - 
 
- 
- 
Method Detail
- 
get
Caches get(int i)
Returns theCachesobject at the specified index.- Parameters:
 i- the index of aCachesobject- Returns:
 - the 
Cachesobject at the specified index. 
 
- 
alter
void alter(Cache[] caches, int action) throws MonitorManipulationException, WebObjectsAdminException
Manipulates the caches with the specified cache administration action.- Parameters:
 caches- an array ofCacheto be manipulatedaction- indicates cache administration action, a value fromEnumDSSXMLCacheAdminAction- Throws:
 MonitorManipulationException- thrown if there are failures to manipilate caches.WebObjectsAdminException- throwns if there is any fatal error preventing this operation, such as network error, server crash, etc.
 
- 
size
int size()
Returns the number ofCachesin the current collection.- Returns:
 - the number of 
Cachesin the collection. 
 
- 
item
Caches item(java.lang.String projectDSSID)
Returns theCachesobject by the specified project DSSID. Caches are aggregated at the project level.- Parameters:
 projectDSSID- the project DSSID.- Returns:
 - the 
Cachesobject 
 
- 
isServerLevel
boolean isServerLevel()
Returns flag for control fetching caches on IServer level or not. 
 - 
 
 -