The IMetabaseCache interface contains properties and methods used to work with repository cache.
While working with objects data caching is performed in repository cache for faster access to data. While caching temporary object copies that contain frequently used data are created on the user's computer. If an object has parameters copies are created for each set of parameters with which an object is opened. Caching of data is supported by those object as: dictionaries, MDM dictionaries and time series databases. Also repository cache stores references on used objects. Repository cache is stored and used within the same repository connection.
Property name | Brief description | |
The SharedValue property returns current value of a global variable. |
Method name | Brief description | |
The Flush method flushes links of repository object by its key. | ||
The FlushAll method flushes links of objects stored in repository cache. | ||
The FlushById method flushes links of repository object by its identifier. | ||
The FlushInstance method flushes cache of repository object by its key and specified parameters values. | ||
The FlushInstanceById method flushes cache of repository object by its identifier and specified parameters values. | ||
The GetInstance method returns an object instance from repository cache by key and specified parameters set. | ||
The GetInstanceById method returns an object instance from repository cache by identifier and specified parameters set. | ||
The MetabaseFlush method flushes cache of repository object without flushing of assemblies cache. | ||
The MetabaseFlushAll method flushes cache of repository objects without flushing of assemblies cache. |
See also: