ObjVerExReadCache Class

A simple read cache for ObjVerEx objects. It assumes that ObjVerExs in the cache will not be modified within the cache, or on the server during the lifetime of the cache.

Definition

Namespace: MFiles.VAF.Placeholders
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public class ObjVerExReadCache
Inheritance
Object    ObjVerExReadCache

Constructors

ObjVerExReadCache Constructor.

Properties

Vault The vault in which the objects to cache reside.

Methods

Cache Adds an ObjVerEx to the cache and ensures it is loaded.
Resolve(IEnumerableLookup, SessionInfo) Resolves a set of ObjVerEx instances with the ObjectVersion and Properties already loaded.
Resolve(IEnumerableObjID, SessionInfo) Resolves a set of ObjVerEx instances with the ObjectVersion and Properties already loaded.
Resolve(IEnumerableObjVer, SessionInfo) Resolves a set of ObjVerEx instances with the ObjectVersion and Properties already loaded.
Resolve(Lookup, SessionInfo) Resolves an ObjVerEx instance with the ObjectVersion and Properties already loaded.
Resolve(Lookups, SessionInfo) Resolves a set of ObjVerEx instances with the ObjectVersion and Properties already loaded.
Resolve(ObjID, SessionInfo) Resolves an ObjVerEx instance with the ObjectVersion and Properties already loaded.
Resolve(ObjIDs, SessionInfo) Resolves a set of ObjVerEx instances with the ObjectVersion and Properties already loaded.
Resolve(ObjVer, SessionInfo) Resolves an ObjVerEx instance with the ObjectVersion and Properties already loaded.
Resolve(ObjVers, SessionInfo) Resolves a set of ObjVerEx instances with the ObjectVersion and Properties already loaded.
Resolve(IEnumerableObjVerEx, SessionInfo, Boolean) Resolves a set of loaded ObjVerEx instances from the ones provided. If an instance is already cached, it is returned. If a passed instance is loaded (but not cached), it will be cached and returned. If a passed instance is not loaded (and not cached), it will be loaded, cached and returned. If an instance does not exist it is removed from the list.

See Also