Class Ldap_mutex.object_lock_table

class object_lock_table : string list -> string -> string -> string -> object .. end

new object_lock_table ldapurls binddn bindpw mutexdn


method lock : Ldap_types.dn -> unit

lock the specified dn, if it is already locked, then block until the lock can be aquired

method unlock : Ldap_types.dn -> unit

unlock the specified dn, if it is not locked do nothing