lock_timeout Property

The time to live for the current resource lock.


def get_lock_timeout() -> int: ...
def set_lock_timeout(value: int) -> None: ...

lock_timeout = property(get_lock_timeout, set_lock_timeout)

Default Value



Before a call to the lock_resource method, lock_timeout may be set to a specific amount of time needed for the locked operation to take place. The timeout is used to determine how long the lock may exist before the server automatically unlocks the resource URI. If timeout of 0 is specified, the server will use a default timeout. After a successful lock_resource operation, the class will set the lock_timeout property to the correct value returned in the server's response.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8161]