package
1.8.1
Repository: https://github.com/kevburnsjr/lmdb-go.git
Documentation: pkg.go.dev

# Functions

NewTxnPool initializes returns a new TxnPool.

# Constants

HandleAll is a convenient alias for the combination of HandleOutstanding and HandleIdle.
HandleIdle causes a TxnPool to actively attempt aborting idle transactions in the sync.Pool after an update has been committed.
HandleOutstanding causes a TxnPool to abort any lmdb.Readonly transactions that are being returned to the pool after an update.
HandleRenew modifies how other UpdateHandling flags are interpretted and causes a TxnPool to renew transactions and put them back in the pool instead of aborting them.

# Structs

TxnPool is a pool for reusing transactions through their Reset and Renew methods.

# Type aliases

UpdateHandling describes how a TxnPool handles existing lmdb.Readonly transactions when an environment update occurs.