MCPcopy
hub / github.com/IBM/sarama / Unregister

Method Unregister

metrics.go:104–111  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

102}
103
104func (r *cleanupRegistry) Unregister(name string) {
105 r.mutex.Lock()
106 defer r.mutex.Unlock()
107 if _, ok := r.metrics[name]; ok {
108 delete(r.metrics, name)
109 r.parent.Unregister(name)
110 }
111}
112
113func (r *cleanupRegistry) UnregisterAll() {
114 r.mutex.Lock()

Callers 1

UnregisterAllMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected