LazyItemPerWorkspaceCache<TItemType, TFactoryData>
Base implementation for storing items in the Instance.
Gets the length of time until expiration.
Gets the expiration type of the values in this cache.
protected LazyItemPerWorkspaceCache()
Initializes a new instance of LazyItemPerWorkspaceCache.
protected abstract TItemType CacheItemFactory(int workspaceArtifactID, TFactoryData factoryData, CancellationToken cancellationToken)
Gets or sets the function that retrieves the specified cache value if it is not present.
Generates the cache key associated with the specified workspace artifact id.
Gets the max execution time allowed while retrieving data from the cache.
Removes the cache entry associated with the specified workspace id.
Gets the value associated with the specified database.