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

Method getSingleChannelCache

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

Access to individual channel cache

(ctx context.Context, ch channels.ID)

Source from the content-addressed store, hash-verified

68
69 // Access to individual channel cache
70 getSingleChannelCache(ctx context.Context, ch channels.ID) (SingleChannelCache, error)
71
72 // Access to individual bypass channel cache
73 getBypassChannelCache(ch channels.ID) (SingleChannelCache, error)

Callers 8

closeLateFeedMethod · 0.65
InitChannelMethod · 0.65
TestChannelCacheBackfillFunction · 0.65
TestChannelCacheSizeFunction · 0.65
TestAllDocsOnlyFunction · 0.65
TestConflictsFunction · 0.65

Implementers 1

channelCacheImpldb/channel_cache.go

Calls

no outgoing calls

Tested by 5

TestChannelCacheBackfillFunction · 0.52
TestChannelCacheSizeFunction · 0.52
TestAllDocsOnlyFunction · 0.52
TestConflictsFunction · 0.52