VaultApplicationBaseCreateMetadataStructureCacheEventSink Method

Creates the metadata structure cache event sink that can be used to update the cache based on events. Currently only updating the users, user groups and logins is supported. - The default setting is to disable all event driven caches, so we return a null value. - To enable event driven caches, override to return a `new MetadataStructureCacheEventSink( cache );`


Namespace: MFiles.VAF
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
protected virtual IMetadataStructureCacheEventSink CreateMetadataStructureCacheEventSink(
	Vault vault,
	IMetadataStructureCacheUpdate cache


vault  Vault
The vault object.
cache  IMetadataStructureCacheUpdate
The updateable cache object that should be the target of the updates.

Return Value

The created cache updater object or null if cache updating is not wanted.

See Also