Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Overview

$Cache is a global object that can be used to store and fetch objects in non persisting cache storage.

const $Cache;

Remarks

Cache is cleared when application is restarted or when item is expired.

Cache also provides locking mechanism for shared access to objects. Locking mechanism is based on token value. Token value is generated by $Cache.Lock or $Cache.TryLock method. Token value must be used to release lock with $Cache.ReleaseLock method. If lock is not realed before timeout, lock is automatically released after transaction is completed.

  • No labels