LeanCache Class [AX 2012]
The LeanCache class is an abstract base class that provides caching functionality based on the SysGlobalObjectCache class.
| Method | Description | |
|---|---|---|
| any2container | Encloses the given value in a container object. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| clearCache | Clears the entire cache. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| find | Finds values in the cache that is stored under the provided key. |
| findInternal | Finds values in the cache that is stored under the provided key. |
| findIsCacheHit | Determines whether the last call to the find method hits the cache. |
| findIsNullValue | Determines whether the last call to the find method returns a nullNothingnullptrunita null reference (Nothing in Visual Basic) value. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| insert | Inserts the key value pair into the cache. |
| isNullValue | Determines whether the specified value is a nullNothingnullptrunita null reference (Nothing in Visual Basic) value. |
| isValid | Determines whether the specified key and value are valid. |
| new | Initializes a new instance of the LeanCache class. |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| nullValue | Defines the value that is considered a nullNothingnullptrunita null reference (Nothing in Visual Basic) value in the cache. |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| remove | Removes an entry from the cache that is stored under the given key. |
| scopeName | Retrieves the cache scope name. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::clearCacheServer | Clears the entire cache on the server. |
Community Additions
ADD
Show: