def get_and_set_reconnection_handler(self, new_handler):
        with self.lock:
            old = self._reconnection_handler
            self._reconnection_handler = new_handler
            return old
Helper function to build x axis for points captured per epoch
dataset/ETHPy150Open datastax/python-driver/cassandra/pool.py/Host.get_and_set_reconnection_handler--crossover with--dataset/ETHPy150Open NervanaSystems/neon/neon/visualizations/data.py/create_epoch_x