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

Method Clear

db/channel_cache.go:60–60  ·  view source on GitHub ↗

Clear reinitializes the cache to an empty state

()

Source from the content-addressed store, hash-verified

58
59 // Clear reinitializes the cache to an empty state
60 Clear()
61
62 // Size of the the largest individual channel cache, invoked for stats reporting
63 // // TODO: let the cache manage its own stats internally (maybe take an updateStats call)

Callers 8

ClearMethod · 0.65
TestWebhookBasicFunction · 0.65
TestWebhookOverflowsFunction · 0.65
TestWebhookOldDocFunction · 0.65
TestWebhookTimeoutFunction · 0.65
updateCCVSettingsMethod · 0.65
ClearMethod · 0.65
FlushChannelCacheMethod · 0.65

Implementers 1

channelCacheImpldb/channel_cache.go

Calls

no outgoing calls

Tested by 4

TestWebhookBasicFunction · 0.52
TestWebhookOverflowsFunction · 0.52
TestWebhookOldDocFunction · 0.52
TestWebhookTimeoutFunction · 0.52