OptionalacquisitionThe maximum time to wait for the lock to be acquired on the server.
OptionalmaxThe maximum time the lock can be held before it is automatically released. If not specified, the lock will be held until explicitly released or the connection is lost.
Options for acquiring a distributed lock.