@staticmethod
    def generate_unique_thread_id():
        LogFileProcessor.__thread_id_lock.acquire()
        LogFileProcessor.__thread_id_counter += 1
        new_id = LogFileProcessor.__thread_id_counter
        LogFileProcessor.__thread_id_lock.release()

        return 'log_%d' % new_id
Returns a dict mapping case types to DataSourceConfiguration objects that have
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/log_processing.py/LogFileProcessor.generate_unique_thread_id--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/userreports/app_manager.py/get_case_data_sources