本文整理汇总了Python中lib.membase.api.rest_client.RestConnection.get_eventing_go_routine_dumps方法的典型用法代码示例。如果您正苦于以下问题:Python RestConnection.get_eventing_go_routine_dumps方法的具体用法?Python RestConnection.get_eventing_go_routine_dumps怎么用?Python RestConnection.get_eventing_go_routine_dumps使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类lib.membase.api.rest_client.RestConnection
的用法示例。
在下文中一共展示了RestConnection.get_eventing_go_routine_dumps方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: print_go_routine_dump_from_all_eventing_nodes
# 需要导入模块: from lib.membase.api.rest_client import RestConnection [as 别名]
# 或者: from lib.membase.api.rest_client.RestConnection import get_eventing_go_routine_dumps [as 别名]
def print_go_routine_dump_from_all_eventing_nodes(self):
eventing_nodes = self.get_nodes_from_services_map(service_type="eventing", get_all_nodes=True)
for eventing_node in eventing_nodes:
rest_conn = RestConnection(eventing_node)
out = rest_conn.get_eventing_go_routine_dumps()
log.info("Go routine dumps for Node {0} is \n{1} ======================================================"
"============================================================================================="
"\n\n".format(eventing_node.ip, out))