Tag archives for lock

Documentum : freeze, checkin, checkout, lock,…
Hello, Just a post concerning the freeze, unfreeze mechanism of documentum which allows to mark an object and, optionally, its components (if the object is a virtual document), as unchangeable. There is also the lock/unlock mechanism which places a database lock on an object. FREEZE DOCUMENT The content server modifies these following attributes of the object when freezing an object : • r_immutable_flag to ...more»
Java : Management of Accesses Concurrent With Lock
Hello, I would like to expose a home-made solution in order to manage the concurrent accesses.   Here, a singleton named LockSingleton used on server side to: Put a lock for an user, Keep a lock for an user, Check the presence of a lock, Cleanup the locks every 30 seconds,   ...With the lock class:     That's all!!! Huseyin OZVEREN ...more»
Documentum : Concurrency patterns in DFC – Optimistic locking
Hi, Just a post concerning the concurrency in DFC for the error : DfException:: THREAD: http-; MSG: error: "Cannot save 0902xxxxxxxx15 sysobject."; ERRORCODE: 100; NEXT: DfException:: THREAD: http-; MSG: error: "save of object failed because of version mismatch: old version was 30"; ERRORCODE: 100; NEXT: null ... Followed by: DfException:: THREAD: http-; MSG: error: "save of object failed because of version ...more»
Java: Atomic integer example
After my post 'ThreadLocal, what is it?' I would write some words about the java.util.concurrent.atomic package that contains a small toolkit of classes supporting lock-free thread-safe programming on single variables. We will compare in this example the 3 types of shared counters: - a simple counter without synchronization or lock, - an advanced counter with synchronization, - an atomic counter without synchronization or lock ...more»
Copyright ® 2012 Huseyin Ozveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.