MicroStrategy ONE

CacheResults

The CacheResults interface is a derived interface of MonitorResults. In addition to the functionality of MonitorResults, it adds a type-specific get method and methods to manipulate the caches with a specified cache administration action and to return the number of caches in the current collection.

The following methods, part of the MonitorResults functionality, are exposed on the CacheResults interface:

  • getCount()

    Returns the total count of items returned in the browsing request.  

  • getCountSummary()

    Returns the CountSummary interface containing summary count information. Note that if the count information is not specified in the MonitorSource, then the count summary has only an overall count, not a count broken down by category.  

  • getLevel()

    Returns the level of data asked for in the request to get results. This determines the monitoring information that is populated on each object returned. This value is obtained from the EnumDSSXMLLevelFlags enumeration.  

  • elements()

    Returns a java.util.Enumeration containing the individual items in the collection.  

If the level flag is count only, this method will throw an exception.

The following method is exposed on and specific to the CacheResults interface:

  • get()

    Returns the cache object in the collection at the given index.  

  • item()

    Returns the cache object by the specified project DSSID.  

  • size()

    Returns the number of cache objects in the current collection.

  • alter()

    Manipulates the cache objects with the specified cache administration action.