ceph-csi/internal/util/reftracker/v1
Robert Vasek f6ae612003 util: added reference tracker
RT, reference tracker, is key-based implementation of a reference counter.
Unlike an integer-based counter, RT counts references by tracking unique
keys. This allows accounting in situations where idempotency must be
preserved. It guarantees there will be no duplicit increments or decrements
of the counter.

Signed-off-by: Robert Vasek <robert.vasek@cern.ch>
2022-03-27 19:24:26 +00:00
..
refcount_test.go util: added reference tracker 2022-03-27 19:24:26 +00:00
refcount.go util: added reference tracker 2022-03-27 19:24:26 +00:00
v1_test.go util: added reference tracker 2022-03-27 19:24:26 +00:00
v1.go util: added reference tracker 2022-03-27 19:24:26 +00:00