Exemple #1
0
    def force_stop(self):
        AbstractRole.force_stop(self)

        for thread in self.threads:
            thread.terminate()

        for thread in self.threads:
            thread.join()
Exemple #2
0
	def force_stop(self):
		AbstractRole.force_stop(self)
		
		for thread in self.threads:
			thread.terminate()
		
		for thread in self.threads:
			thread.join()
Exemple #3
0
	def force_stop(self):
		AbstractRole.force_stop(self)
		
		for vm in self.virtual_machine :
			vm = self.virtual_machine[vm]
			
			if vm.getStatus() == "RUNNING" :
				vm.shutdown()
				
		self.webserver.server_close()
Exemple #4
0
	def force_stop(self):
		AbstractRole.force_stop(self)
		self.server.shutdown()
		for pid in list(self.processes):
			self.kill_process(pid)
Exemple #5
0
 def force_stop(self):
     AbstractRole.force_stop(self)
     self.server.shutdown()
     for pid in list(self.processes):
         self.kill_process(pid)