Package ganeti :: Module jqueue :: Class _OpExecContext
[hide private]
[frames] | no frames]

Class _OpExecContext

source code

Instance Methods [hide private]
 
__init__(self, op, index, log_prefix, timeout_strategy_factory)
Initializes this class.
source code
 
_ResetTimeoutStrategy(self)
Creates a new timeout strategy.
source code
 
CheckPriorityIncrease(self)
Checks whether priority can and should be increased.
source code
 
GetNextLockTimeout(self)
Returns the next lock acquire timeout.
source code
Method Details [hide private]

CheckPriorityIncrease(self)

source code 

Checks whether priority can and should be increased.

Called when locks couldn't be acquired.