def add_heart_failure_handler(self, handler):
        """add a new handler for heart failure"""
        self.log.debug("heartbeat::new heart failure handler: %s"%handler)
        self._failure_handlers.add(handler)
dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/controller/heartmonitor.py/HeartMonitor.add_heart_failure_handler/original