$Cache¶
$Cache is a global object that can be used to store and retrieve objects in a non-persistent cache storage.
1 |  | 
Remarks¶
The cache is cleared when the application is restarted or when an item expires.
 The cache also provides a locking mechanism for shared access to objects.
 The locking mechanism is based on a token value.
 The token value is generated by the $Cache.Lock or $Cache.TryLock method.
 The token value must be used to release the lock with the $Cache.ReleaseLock method.
 If the lock is not released before the timeout, it is automatically released after the transaction is completed.