MCPcopy
hub / github.com/go-mysql-org/go-mysql-elasticsearch / Close

Method Close

river/river.go:311–321  ·  view source on GitHub ↗

Close closes the River

()

Source from the content-addressed store, hash-verified

309
310// Close closes the River
311func (r *River) Close() {
312 log.Infof("closing river")
313
314 r.cancel()
315
316 r.canal.Close()
317
318 r.master.Close()
319
320 r.wg.Wait()
321}
322
323func isValidTables(tables []string) bool {
324 if len(tables) > 1 {

Callers 6

mainFunction · 0.95
DoMethod · 0.45
DoBulkMethod · 0.45
GetMappingMethod · 0.45
TestRiverWithParentMethod · 0.45
TearDownSuiteMethod · 0.45

Calls

no outgoing calls

Tested by 2

TestRiverWithParentMethod · 0.36
TearDownSuiteMethod · 0.36