core.datamanager

Classes

FileDataManager

Writes a file when the transaction is commited.

Module Contents

class core.datamanager.FileDataManager(data: bytes, path: str, tmp_path: str | None = None)[source]

Writes a file when the transaction is commited.

transaction_manager[source]
data[source]
path[source]
tmp_path = None[source]
classmethod write_file(data: bytes, path: str, tmp_path: str | None = None) None[source]
sortKey() str[source]
commit(transaction: transaction.interfaces.ITransaction) None[source]
abort(transaction: transaction.interfaces.ITransaction) None[source]
tpc_vote(transaction: transaction.interfaces.ITransaction) None[source]
tpc_abort(transaction: transaction.interfaces.ITransaction) None[source]
tpc_begin(transaction: transaction.interfaces.ITransaction) None[source]
tpc_finish(transaction: transaction.interfaces.ITransaction) None[source]