MCPcopy
hub / github.com/uber/aresdb / RemoveProcessor

Method RemoveProcessor

subscriber/common/job/driver.go:207–212  ·  view source on GitHub ↗

RemoveProcessor will remove a processor from driver.

(ID int)

Source from the content-addressed store, hash-verified

205
206// RemoveProcessor will remove a processor from driver.
207func (d *Driver) RemoveProcessor(ID int) bool {
208 d.Lock()
209 defer d.Unlock()
210
211 return d.removeProcessor(ID)
212}
213
214func (d *Driver) removeProcessor(ID int) bool {
215 // if no processors running, nothing to remove

Callers 2

monitorErrorsMethod · 0.95
driver_test.goFile · 0.80

Calls 3

removeProcessorMethod · 0.95
LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected