本文整理汇总了Python中elasticsearch_tornado.MeowClient类的典型用法代码示例。如果您正苦于以下问题:Python MeowClient类的具体用法?Python MeowClient怎么用?Python MeowClient使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了MeowClient类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test_pending_tasks
def test_pending_tasks(self):
mc = MeowClient(io_loop=self.io_loop)
mc.pending_tasks(callback=self.handle_cb)
self.wait()
示例2: test_thread_pool
def test_thread_pool(self):
mc = MeowClient(io_loop=self.io_loop)
mc.thread_pool(callback=self.handle_cb)
self.wait()
示例3: test_recovery
def test_recovery(self):
mc = MeowClient(io_loop=self.io_loop)
mc.recovery(callback=self.handle_cb)
self.wait()
示例4: test_segments
def test_segments(self):
mc = MeowClient(io_loop=self.io_loop)
mc.segments(callback=self.handle_cb)
self.wait()
示例5: test_master
def test_master(self):
mc = MeowClient(io_loop=self.io_loop)
mc.master(callback=self.handle_cb)
self.wait()
示例6: test_nodes
def test_nodes(self):
mc = MeowClient(io_loop=self.io_loop)
mc.nodes(callback=self.handle_cb)
self.wait()
示例7: test_count
def test_count(self):
mc = MeowClient(io_loop=self.io_loop)
mc.count(callback=self.handle_cb)
self.wait()
示例8: test_health
def test_health(self):
mc = MeowClient(io_loop=self.io_loop)
mc.health(cb=self.handle_cb)
self.wait()
示例9: test_shards
def test_shards(self):
mc = MeowClient(io_loop=self.io_loop)
mc.shards_cat(callback=self.handle_cb)
self.wait()
示例10: test_allocation
def test_allocation(self):
mc = MeowClient(io_loop=self.io_loop)
mc.allocation(callback=self.handle_cb)
self.wait()
示例11: test_indices
def test_indices(self):
mc = MeowClient(io_loop=self.io_loop)
mc.indices_cat(callback=self.handle_cb)
self.wait()
示例12: test_shards
def test_shards(self):
mc = MeowClient(io_loop=self.io_loop)
mc.shards(cb=self.handle_cb)
self.wait()
示例13: test_indices
def test_indices(self):
mc = MeowClient(io_loop=self.io_loop)
mc.indices(cb=self.handle_cb)
self.wait()
示例14: test_fielddata
def test_fielddata(self):
mc = MeowClient(io_loop=self.io_loop)
mc.fielddata(callback=self.handle_cb)
self.wait()
示例15: test_help
def test_help(self):
mc = MeowClient(io_loop=self.io_loop)
mc.help(callback=self.handle_cb)
self.wait()