MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / GetSum

Method GetSum

db/event_manager_test.go:327–332  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325}
326
327func (wr *WebhookRequest) GetSum() float64 {
328 wr.mutex.Lock()
329 sum := wr.sum
330 wr.mutex.Unlock()
331 return sum
332}
333
334func (wr *WebhookRequest) IncrementSum(sum float64) float64 {
335 wr.mutex.Lock()

Callers

nothing calls this directly

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected