//
pkg.gl
Category
github.com/cockroachdb/replicator
internal
util
stamp
package
1.0.5
Repository:
https://github.com/cockroachdb/replicator.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
1
Files
312 SLOC
#
Functions
Compare
Compare returns -1, 0, or 1 if a is less than, equal to, or greater than b.
NewMinMap
NewMinMap constructs an empty MinMap.
#
Structs
MinMap
A MinMap provides a mapping of keys to Stamp values, while also tracking the minimum value.
Queue
Queue maintains ordered Stamped values.
#
Interfaces
Coalescing
Coalescing is an optional interface that may be implemented by Stamped values.
Stamp
A Stamp is a comparable value (possibly a time, or an offset within a log file).
Stamped
A Stamped value has some key by which it can be ordered.