Package ganeti :: Package http :: Module client :: Class _PendingRequestMonitor
[hide private]
[frames] | no frames]

Class _PendingRequestMonitor

source code

Instance Methods [hide private]
 
__init__(self, owner, pending_fn)
Initializes this class.
source code
 
Disable(self)
Disable monitor.
source code
 
GetLockInfo(self, requested)
Retrieves information about pending requests.
source code
Class Variables [hide private]
  _LOCK = "_lock"
Method Details [hide private]

Disable(self)

source code 

Disable monitor.

Decorators:
  • @locking.ssynchronized(_LOCK)

GetLockInfo(self, requested)

source code 

Retrieves information about pending requests.

Parameters:
  • requested (set) - Requested information, see query.LQ_*
Decorators:
  • @locking.ssynchronized(_LOCK, shared= 1)