示例#1
0
 def shutdown(self):
     BaseDispatcher.shutdown(self)
     self._state.clear()
     self._zk.stop()
示例#2
0
 def shutdown(self):
     BaseDispatcher.shutdown(self)
     self._state.clear()
     self._zk.stop()
示例#3
0
 def start(self):
     BaseDispatcher.start(self)
     self._zk.start()
     return self._zk.state == KazooState.CONNECTED
示例#4
0
 def start(self):
     BaseDispatcher.start(self)
     self._zk.start()
     return self._zk.state == KazooState.CONNECTED