package
20.1.0-beta.2+incompatible
Repository: https://github.com/jbowens/cockroach.git
Documentation: pkg.go.dev

# Packages

Package lock provides type definitions for locking-related concepts used by concurrency control in the key-value layer.

# Functions

NewManager creates a new concurrency Manager structure.

# Structs

Guard is returned from Manager.SequenceReq.
Request is the input to Manager.SequenceReq.

# Interfaces

ContentionHandler is concerned with handling contention-related errors.
IntentResolver is an interface used by lockTableWaiterImpl to push transactions and to resolve intents.
LockManager is concerned with tracking locks that are stored on the manager's range.
Manager is a structure that sequences incoming requests and provides isolation between requests that intend to perform conflicting operations.
MetricExporter is concerned with providing observability into the state of the concurrency manager.
RangeStateListener is concerned with observing updates to the concurrency manager's range.
RequestSequencer is concerned with the sequencing of concurrent requests.
Store provides some parts of a Store without incurring a dependency.
TransactionManager is concerned with tracking transactions that have their record stored on the manager's range.

# Type aliases

Error is an alias for a roachpb.Error.
Response is a slice of responses to requests in a batch.