def METHOD_NAME(self):
    try:
        deleted, _rows_count = IastHeartbeat.objects.filter(agent=self.agent).delete()
        logger.warning(
            _(
                "The replay request method pool data was successfully deleted, A total of {} replay requests are deleted"
            ).format(deleted)
        )
    except Exception as e:
        logger.warning(_("Failed to delete heartbeat data, error message: {}").format(e))