Interface CacheResults
-
- All Superinterfaces:
MonitorResults
public interface CacheResults extends MonitorResults
The interfaceCacheResults
represents 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 void
alter(Cache[] caches, int action)
Manipulates the caches with the specified cache administration action.Caches
get(int i)
Returns theCaches
object at the specified index.boolean
isServerLevel()
Returns flag for control fetching caches on IServer level or not.Caches
item(java.lang.String projectDSSID)
Returns theCaches
object by the specified project DSSID.int
size()
Returns the number ofCaches
in 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 theCaches
object at the specified index.- Parameters:
i
- the index of aCaches
object- Returns:
- the
Caches
object 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 ofCache
to 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 ofCaches
in the current collection.- Returns:
- the number of
Caches
in the collection.
-
item
Caches item(java.lang.String projectDSSID)
Returns theCaches
object by the specified project DSSID. Caches are aggregated at the project level.- Parameters:
projectDSSID
- the project DSSID.- Returns:
- the
Caches
object
-
isServerLevel
boolean isServerLevel()
Returns flag for control fetching caches on IServer level or not.
-
-