Sha256: 90148b47302c585c241e4576b7042f632a519e5a2218074b5e7c175ce5b1d3ac
Contents?: true
Size: 630 Bytes
Versions: 19
Compression:
Stored size: 630 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 # Called after World instantiation, it can be used to check Dynflow configuration etc. def check(world) # override if needed end end end end
Version data entries
19 entries across 19 versions & 1 rubygems