Sha256: 727641c30ccb61cd61bbfd4db10198286fe8f8a3b9a8ddc621e2b7cc40723b2e
Contents?: true
Size: 474 Bytes
Versions: 37
Compression:
Stored size: 474 Bytes
Contents
module Dynflow module TransactionAdapters class Abstract # start transaction around +block+ def transaction(&block) raise NotImplementedError end # rollback the transaction def rollback raise NotImplementedError end # Called on each thread after work is done. # E.g. it's used to checkin ActiveRecord connections back to pool. def cleanup # override if needed end end end end
Version data entries
37 entries across 37 versions & 1 rubygems