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

Method Init

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

Initializes the cache high sequence value

(initialSequence uint64)

Source from the content-addressed store, hash-verified

37
38 // Initializes the cache high sequence value
39 Init(initialSequence uint64)
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

Callers 14

InitMethod · 0.65
initExpvarBaseEquivalentFunction · 0.65
initReplicationStatsMethod · 0.65
initDatabaseStatsMethod · 0.65
initFunction · 0.65
NewDatabaseContextFunction · 0.65
RestartListenerMethod · 0.65
StartOnlineProcessesMethod · 0.65
InitMethod · 0.65
StartMethod · 0.65
ClearMethod · 0.65
ClearMethod · 0.65

Implementers 1

channelCacheImpldb/channel_cache.go

Calls

no outgoing calls

Tested by 2

initExpvarBaseEquivalentFunction · 0.52
TestResyncDCPInitFunction · 0.52