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

Method MaxCacheSize

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

Size of the the largest individual channel cache, invoked for stats reporting TODO: let the cache manage its own stats internally (maybe take an updateStats call)

(context.Context)

Source from the content-addressed store, hash-verified

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)
64 MaxCacheSize(context.Context) int
65
66 // Returns the highest cached sequence, used for changes synchronization
67 GetHighCacheSequence() uint64

Callers 1

UpdateCalculatedStatsMethod · 0.65

Implementers 1

channelCacheImpldb/channel_cache.go

Calls

no outgoing calls

Tested by

no test coverage detected