MicroStrategy ONE

Cache

The Cache interface contains a list of read-only properties and represents a cache slot in the memory of Intelligence Server.

Since copies of caches in memory cannot be made between the moment that a snapshot of the caches is taken and serialization of cache information, the cache information returned from Intelligence Server might be partially out of the sorting order the user requires, which might also affect the result of incremental fetch.

The following methods are exposed on the Cache interface:

Method Name Return Type Requires Details? Description

getReportName

string

No

Returns the name of the report to which this cache belongs

getProjectName

string

No

Returns the project name

getStatus

int

No

Returns the cache status, from EnumDSSXMLReportCacheStatus

getLastUpdateTime

date

No

Returns the last update time of the cache

size

int

No

Returns the cache size in KB

getLastHitTime

date

No

Returns the last hit time of the cache

getHitCount

int

No

Returns the hit count of the cache

getExpirationTime

date

No

Returns the cache expiration time

getType

int

No

Returns the cache type, from EnumDSSXMLReportCacheType

getCreationTime

date

No

Returns the cache creation time

getID

string

No

Returns the DSSID of the cache

hasDetails

boolean

N/A

Returns true if the cache details are available