MCPcopy Create free account
hub / github.com/cortexproject/cortex / State

Method State

pkg/util/services/basic_service.go:321–325  ·  view source on GitHub ↗

State is part of Service interface.

()

Source from the content-addressed store, hash-verified

319
320// State is part of Service interface.
321func (b *BasicService) State() State {
322 b.stateMu.RLock()
323 defer b.stateMu.RUnlock()
324 return b.state
325}
326
327// AddListener is part of Service interface.
328func (b *BasicService) AddListener(listener Listener) {

Callers 3

StopAsyncMethod · 0.95
ServiceContextMethod · 0.95
awaitStateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected