Part of twisted.internet.defer View Source View In Hierarchy
|Method||deferUntilLocked||Wait until we acquire this lock. This method is not safe for concurrent use.|
|Instance Variable||_scheduler||The object in charge of scheduling retries. In this implementation this is parameterized for testing.|
|Instance Variable||_interval||The retry interval for an
Inherited from FilesystemLock:
|Instance Variable||name||The name of the file associated with this lock.|
|Instance Variable||clean||Indicates whether this lock was released cleanly by its last owner. Only
|Instance Variable||locked||Indicates whether the lock is currently held by this object.|
|Method||lock||Acquire this lock.|
|Method||unlock||Release this lock.|
_intervalthat will manage the next retry for acquiring the lock.
deferUntilLocked's timeout argument. This is in charge of timing out our attempt to acquire the lock.
|Parameters||timeout||the number of seconds after which to time out if the lock has not been
acquired. (type: |