コード例 #1
0
ファイル: trogdor.py プロジェクト: paganini0102/kafka
 def free(self):
     # We only want to deallocate the coordinator node, not the agent nodes.  So we
     # change self.nodes to include only the coordinator node, and then invoke
     # the base class' free method.
     if self.coordinator_node is not None:
         self.nodes = [self.coordinator_node]
         self.coordinator_node = None
         Service.free(self)
コード例 #2
0
ファイル: kibosh.py プロジェクト: paganini0102/kafka
 def free(self):
     """Clear the nodes list."""
     # Because the filesystem runs on nodes which have been allocated by other services, those nodes
     # are not deallocated here.
     self.nodes = []
     Service.free(self)
コード例 #3
0
ファイル: kibosh.py プロジェクト: harshach/kafka
 def free(self):
     """Clear the nodes list."""
     # Because the filesystem runs on nodes which have been allocated by other services, those nodes
     # are not deallocated here.
     self.nodes = []
     Service.free(self)
コード例 #4
0
 def free(self):
     Service.free(self)
コード例 #5
0
 def free(self):
     Service.free(self)