-
公开(公告)号:US20200341984A1
公开(公告)日:2020-10-29
申请号:US16883681
申请日:2020-05-26
Applicant: Open Text Corporation
Inventor: Shu-Shang Sam Wei , Shuaib Hasan Khwaja , Pankaj Pradhan
IPC: G06F16/2455
Abstract: A method for referencing and updating objects in a shared resource environment. A reference counter counts is incremented for every use of an object subtype in a session and decremented for every release of an object subtype in a session. A session counter is incremented upon the first instance of fetching an object type into a session cache and decremented upon having no instances of the object type in use in the session. When both the reference counter and the session counter are zero, the object type may be removed from the cache. When the object type needs to be updated, it is cloned into a local cache, and changes are made on the local copy. The global cache is then locked to all other users, the original object type is detached, and the cloned object type is swapped into the global cache, after which the global cache in unlocked.