MCPcopy
hub / github.com/yougov/mongo-connector / join

Method join

mongo_connector/connector.py:222–228  ·  view source on GitHub ↗

Joins thread, stops it from running

(self)

Source from the content-addressed store, hash-verified

220 return connector
221
222 def join(self):
223 """ Joins thread, stops it from running
224 """
225 self.can_run = False
226 super(Connector, self).join()
227 for dm in self.doc_managers:
228 dm.stop()
229
230 def write_oplog_progress(self):
231 """ Writes oplog progress to file provided by user

Callers 15

test_connectorMethod · 0.95
_installFunction · 0.45
_build_eggFunction · 0.45
_do_downloadFunction · 0.45
download_setuptoolsFunction · 0.45
_extractallFunction · 0.45
parse_argsMethod · 0.45
oplog_thread_joinMethod · 0.45
_mo_urlFunction · 0.45
__str__Method · 0.45
flattenMethod · 0.45

Calls 1

stopMethod · 0.45

Tested by 15

test_connectorMethod · 0.76
_mo_urlFunction · 0.36
test_insert_fileMethod · 0.36
test_insertMethod · 0.36
test_insert_fileMethod · 0.36
tearDownClassMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36