The heat.engine.stack_lock ModuleΒΆ

class heat.engine.stack_lock.StackLock(context, stack, engine_id)[source]

Bases: object

acquire(retry=True)[source]

Acquire a lock on the stack.

Parameters:retry (boolean) – When True, retry if lock was released while stealing.
static engine_alive(context, engine_id)[source]
static generate_engine_id()[source]
release(stack_id)[source]

Release a stack lock.

try_acquire()[source]

Try to acquire a stack lock, but don’t raise an ActionInProgress exception or try to steal lock.

Previous topic

The heat.engine.timestamp Module

Next topic

The heat.engine.update Module

This Page