returns the main synchronisation lock.
[Visual Basic] Function Lock() As Object [C#] object Lock(); [C++] Object* Lock(); [JScript] function Lock(): Object;
Object the ObjectContainer lock object
returns the main synchronisation lock.
Synchronize over this object to ensure exclusive access to the ObjectContainer.
Handle the use of this functionality with extreme care, since deadlocks can be produced with just two lines of code.
ExtObjectContainer Interface | com.db4o.ext Namespace