def __init__(self,   q_documents, q_stats_bdd, bdd_bulksize, bdd_filename):
        self._logger = logging.getLogger(__name__)

        self._q_documents = q_documents
        self._logger.debug("BDD_orchestrator self._q_documents  created" )

        self._logger.debug("BDD_orchestrator BDD_file  initialize" )
        self._bdd_thread = BDD_file( self._q_documents, q_stats_bdd, bdd_bulksize, bdd_filename)
class BDD_orchestrator():
    def __init__(self,   q_documents, q_stats_bdd, bdd_bulksize, bdd_filename):
        self._logger = logging.getLogger(__name__)

        self._q_documents = q_documents
        self._logger.debug("BDD_orchestrator self._q_documents  created" )

        self._logger.debug("BDD_orchestrator BDD_file  initialize" )
        self._bdd_thread = BDD_file( self._q_documents, q_stats_bdd, bdd_bulksize, bdd_filename)
        #self._bdd_thread.daemon = True

    def run(self):
        self._logger.debug("BDD_orchestrator BDD_file  in run()" )
        self._bdd_thread.start()

    def stop(self):
        self._bdd_thread.stop()