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

Method AddToCache

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

Adds an entry to the cache, returns set of channels it was added to

(ctx context.Context, change *LogEntry)

Source from the content-addressed store, hash-verified

40
41 // Adds an entry to the cache, returns set of channels it was added to
42 AddToCache(ctx context.Context, change *LogEntry) []channels.ID
43
44 // Notifies the cache of a principal update. Updates the cache's high sequence
45 AddPrincipal(change *LogEntry)

Callers 6

_addToCacheMethod · 0.65
TestChannelCacheMaxSizeFunction · 0.65
TestChannelCacheBypassFunction · 0.65

Implementers 1

channelCacheImpldb/channel_cache.go

Calls

no outgoing calls