def shutDown(self): if self.server: self.server.stop() # Give os time to free the socket. Otherwise a reload will fail with 'address already in use' time.sleep(.2) # Call parent shutDown method. BaseThreadedModule.shutDown(self)
def shutDown(self): self.accumulateReceiveRateStats() self.accumulateEventTypeStats() if self.lumbermill.is_master(): self.printIntervalStatistics() self.mp_stats_collector.shutDown() BaseThreadedModule.shutDown(self)
def shutDown(self): # Call parent shutDown method. BaseThreadedModule.shutDown(self) try: self.socket.close() self.context.term() except AttributeError: pass
def shutDown(self): try: self.buffer.flush() except: pass try: self.client.close() self.zmq_context.term() except AttributeError: pass # Call parent shutDown method. BaseThreadedModule.shutDown(self)
def shutDown(self): try: self.buffer.flush() except: pass BaseThreadedModule.shutDown(self)
def shutDown(self): # Call parent configure method. BaseThreadedModule.shutDown(self) self.socket.close() self.socket = None
def shutDown(self): # Push any remaining facet data. self.evaluateFacets() # Call parent configure method. BaseThreadedModule.shutDown(self)
def shutDown(self): BaseThreadedModule.shutDown(self) for thread in self.lookup_threads: thread.stop() thread.join()
def shutDown(self): self.syslog_handler.close() BaseThreadedModule.shutDown(self)
def shutDown(self): self.buffer.flush() self.closeAllFileHandles() BaseThreadedModule.shutDown(self)
def shutDown(self): self.mp_stats_collector.shutDown() BaseThreadedModule.shutDown(self)