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

Method GetCount

db/event_manager_test.go:312–317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

310}
311
312func (wr *WebhookRequest) GetCount() int {
313 wr.mutex.Lock()
314 count := wr.count
315 wr.mutex.Unlock()
316 return count
317}
318
319func (wr *WebhookRequest) IncrementCount() int {
320 wr.mutex.Lock()

Callers 2

TestWebhookOldDocFunction · 0.80
TestUnavailableWebhookFunction · 0.80

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected