MCPcopy
hub / github.com/redis/go-redis / GetActiveOperationCount

Method GetActiveOperationCount

maintnotifications/manager.go:245–247  ·  view source on GitHub ↗

GetActiveOperationCount returns the number of active operations. Uses atomic counter for lock-free operation.

()

Source from the content-addressed store, hash-verified

243// GetActiveOperationCount returns the number of active operations.
244// Uses atomic counter for lock-free operation.
245func (hm *Manager) GetActiveOperationCount() int64 {
246 return hm.activeOperationCount.Load()
247}
248
249// MarkSMigratedSeqIDProcessed attempts to mark a SMIGRATED SeqID as processed.
250// Returns true if this is the first time processing this SeqID (should process),

Callers 1

TestManagerRefactoringFunction · 0.95

Calls 1

LoadMethod · 0.45

Tested by 1

TestManagerRefactoringFunction · 0.76