MCPcopy Create free account
hub / github.com/SeeFlowerX/stackplz / delWorkerByUUID

Method delWorkerByUUID

user/event_processor/processer.go:104–108  ·  view source on GitHub ↗

每个worker调用该方法,从处理器中删除自己

(worker IWorker)

Source from the content-addressed store, hash-verified

102
103// 每个worker调用该方法,从处理器中删除自己
104func (this *EventProcessor) delWorkerByUUID(worker IWorker) {
105 this.Lock()
106 defer this.Unlock()
107 delete(this.workerQueue, worker.GetUUID())
108}
109
110// Write event
111// 外部调用者调用该方法

Callers 1

CloseMethod · 0.80

Calls 1

GetUUIDMethod · 0.65

Tested by

no test coverage detected