MCPcopy
hub / github.com/grafana/dskit / OnRingInstanceTokens

Method OnRingInstanceTokens

ring/basic_lifecycler.go:29–29  ·  view source on GitHub ↗

OnRingInstanceTokens is called once the instance tokens are set and are stable within the ring (honoring the observe period, if set).

(lifecycler *BasicLifecycler, tokens Tokens)

Source from the content-addressed store, hash-verified

27 // OnRingInstanceTokens is called once the instance tokens are set and are
28 // stable within the ring (honoring the observe period, if set).
29 OnRingInstanceTokens(lifecycler *BasicLifecycler, tokens Tokens)
30
31 // OnRingInstanceStopping is called while the lifecycler is stopping. The lifecycler
32 // will continue to hearbeat the ring the this function is executing and will proceed

Callers 4

startingMethod · 0.65
OnRingInstanceTokensMethod · 0.65
OnRingInstanceTokensMethod · 0.65
OnRingInstanceTokensMethod · 0.65

Implementers 5

mockDelegatering/basic_lifecycler_test.go
LeaveOnStoppingDelegatering/basic_lifecycler_delegates.go
TokensPersistencyDelegatering/basic_lifecycler_delegates.go
AutoForgetDelegatering/basic_lifecycler_delegates.go
InstanceRegisterDelegatering/basic_lifecycler_delegates.go

Calls

no outgoing calls

Tested by

no test coverage detected