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

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _LOCK = "_lock"
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, owner, pending_fn)
(Constructor)

source code 

Initializes this class.

Overrides: object.__init__

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)