本文整理匯總了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()