package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

NewMetrics returns a new instance of Metrics.
NewTxnIDCache creates a new instance of Cache.

# Variables

MaxSize limits the maximum byte size can be used by the TxnIDCache.

# Structs

Cache stores the mapping from the Transaction IDs (UUID) of recently executed transactions to their corresponding Transaction Fingerprint ID (uint64).
Metrics is a struct that include all metrics related to txn id cache.

# Interfaces

Reader is the interface that can be used to query the transaction fingerprint ID of a transaction ID.
Writer is the interface that can be used to write to txnidcache.