lock(String uri) lock the resource
Parameters: uri - the uri of the resource.
boolean
lock(String uri, int timeout) lock the resource with explicit timeout in seconds
Parameters: uri - the uri of the resource. Parameters: timeout - the lock timeout in seconds.
lock the resource with explicit timeout in seconds
Parameters: uri - the uri of the resource. Parameters: timeout - the lock timeout in seconds. a boolean indicating success. throws: ProcessingException -