|
HWRF
trunk@4391
|
Raised when a LockDatum is held by another Worker. More...
Raised when a LockDatum is held by another Worker.
Definition at line 27 of file datastore.py.
Public Member Functions | |
| def | __init__ (self, did, owner, owninfo, ownseen, ownlegacy, checktime) |
| DatumLockHeld constructor. More... | |
| def | __str__ (self) |
| Human-readable representation of this exception. More... | |
| def | __repr__ (self) |
| String representation of this object. More... | |
Public Attributes | |
| did | |
| The database ID of the datum whose lock is held. | |
| owner | |
| The owner of the lock. | |
| owninfo | |
| implementation-defined information about the owner | |
| ownseen | |
| last time the owner checked in | |
| ownlegacy | |
| length of time the lock is valid | |
| checktime | |
| suggestion of how often to check the lock | |
| def produtil.datastore.DatumLockHeld.__init__ | ( | self, | |
| did, | |||
| owner, | |||
| owninfo, | |||
| ownseen, | |||
| ownlegacy, | |||
| checktime | |||
| ) |
DatumLockHeld constructor.
| did | the database ID of the datum whose lock is held |
| owner | the owner of the lock |
| owninfo | implementation-defined information about the owner |
| ownseen | last time the owner checked in |
| ownlegacy | length of time the lock is valid |
| checktime | suggestion of how often to check the lock |
Definition at line 29 of file datastore.py.
| def produtil.datastore.DatumLockHeld.__repr__ | ( | self | ) |
String representation of this object.
Definition at line 72 of file datastore.py.
Referenced by produtil.prog.Runner.__str__().
| def produtil.datastore.DatumLockHeld.__str__ | ( | self | ) |
Human-readable representation of this exception.
Definition at line 61 of file datastore.py.
1.8.10