minos.plugins.lmdb.factories.saga.executions

Classes

LmdbSagaExecutionDatabaseOperationFactory

Lmdb Saga Execution Database Operation Factory class.

class LmdbSagaExecutionDatabaseOperationFactory[source]

Bases: SagaExecutionDatabaseOperationFactory

Lmdb Saga Execution Database Operation Factory class.

build_table_name()[source]

Get the table name.

Returns

A str value.

Return type

str

build_store(uuid, **kwargs)[source]

Build the database operation to store a saga execution.

Parameters
  • uuid (UUID) – The identifier of the saga execution.

  • kwargs – The attributes of the saga execution.

Returns

A DatabaseOperation instance.

Return type

DatabaseOperation

build_load(uuid)[source]

Build the database operation to load a saga execution.

Parameters

uuid (UUID) – The identifier of the saga execution.

Returns

A DatabaseOperation instance.

Return type

DatabaseOperation

build_delete(uuid)[source]

Build the database operation to delete a saga execution.

Parameters

uuid (UUID) – The identifier of the saga execution.

Returns

A DatabaseOperation instance.

Return type

DatabaseOperation