MCPcopy
hub / github.com/grafana/tempo / Clear

Method Clear

pkg/flushqueues/exclusivequeues.go:48–50  ·  view source on GitHub ↗

Clear unblocks the requested op. This should be called only after a flush has been successful

(op T)

Source from the content-addressed store, hash-verified

46
47// Clear unblocks the requested op. This should be called only after a flush has been successful
48func (f *ExclusiveQueues[T]) Clear(op T) {
49 f.activeKeys.Delete(op.Key())
50}
51
52func (f *ExclusiveQueues[T]) IsEmpty() bool {
53 length := 0

Callers

nothing calls this directly

Calls 2

DeleteMethod · 0.65
KeyMethod · 0.65

Tested by

no test coverage detected