refresh_lock_sync
Description:
public bool refresh_lock_sync (string? uri, string lock_token, int32 lock_timeout, Cancellable? cancellable = null) throws Error
Refreshes existing lock lock_token
for a resource identified by uri
, or, in case it's null
, on the URI
defined in associated Source.
The lock_token
is returned from lock_sync and the
uri
should be the same as that used with lock_sync.
Parameters:
this | |
uri |
URI to lock, or |
lock_token |
token of an existing lock |
lock_timeout |
timeout for the lock, in seconds, on 0 to infinity |
cancellable |
optional Cancellable object, or |
Returns:
Whether succeeded. |