Sha256: b22b8efe9b87d14ed0ff723f6e5e06fed20bcf2e38cb968f5450d2775e8bb393
Contents?: true
Size: 559 Bytes
Versions: 38
Compression:
Stored size: 559 Bytes
Contents
module Neo4j module Embedded class EmbeddedTransaction < Neo4j::Transaction::Base attr_reader :root_tx def initialize(session) super @root_tx = @session.begin_tx end def acquire_read_lock(entity) @root_tx.acquire_read_lock(entity) end def acquire_write_lock(entity) @root_tx.acquire_write_lock(entity) end def delete @root_tx.failure @root_tx.close end def commit @root_tx.success @root_tx.close end end end end
Version data entries
38 entries across 38 versions & 1 rubygems