Ejemplo n.º 1
0
 def stop(self, wait=True, signal_event=signal.SIGTERM, **kwargs):
     not_running = []
     extension.pre_cluster_stop(self)
     for node in list(self.nodes.values()):
         if not node.stop(wait=wait, signal_event=signal_event, **kwargs):
             not_running.append(node)
     extension.post_cluster_stop(self)
     return not_running
Ejemplo n.º 2
0
 def stop(self, wait=True, gently=True):
     not_running = []
     extension.pre_cluster_stop(self)
     for node in list(self.nodes.values()):
         if not node.stop(wait, gently=gently):
             not_running.append(node)
     extension.post_cluster_stop(self)
     return not_running
Ejemplo n.º 3
0
 def stop(self, wait=True, signal_event=signal.SIGTERM, **kwargs):
     not_running = []
     extension.pre_cluster_stop(self)
     for node in list(self.nodes.values()):
         if not node.stop(wait=wait, signal_event=signal_event, **kwargs):
             not_running.append(node)
     extension.post_cluster_stop(self)
     return not_running
Ejemplo n.º 4
0
 def stop(self, wait=True, gently=True):
     not_running = []
     extension.pre_cluster_stop(self)
     for node in list(self.nodes.values()):
         if not node.stop(wait, gently=gently):
             not_running.append(node)
     extension.post_cluster_stop(self)
     return not_running