MCPcopy Create free account
hub / github.com/couchbase/cbft / DeleteEntry

Method DeleteEntry

query_supervisor.go:92–98  ·  view source on GitHub ↗
(id uint64)

Source from the content-addressed store, hash-verified

90}
91
92func (qs *QuerySupervisor) DeleteEntry(id uint64) {
93 qs.m.Lock()
94 if _, exists := qs.queryMap[id]; exists {
95 delete(qs.queryMap, id)
96 }
97 qs.m.Unlock()
98}
99
100func (qs *QuerySupervisor) Count() uint64 {
101 qs.m.RLock()

Callers 4

QueryBleveFunction · 0.80
QueryMethod · 0.80
SearchMethod · 0.80
TestQuerySupervisorFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestQuerySupervisorFunction · 0.64