예제 #1
0
파일: local.py 프로젝트: cychenyin/windmill
 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
파일: local.py 프로젝트: cychenyin/windmill
 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