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)
示例#2
0
 def shutDown(self):
     self.accumulateReceiveRateStats()
     self.accumulateEventTypeStats()
     if self.lumbermill.is_master():
         self.printIntervalStatistics()
     self.mp_stats_collector.shutDown()
     BaseThreadedModule.shutDown(self)
示例#3
0
 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)
示例#4
0
 def shutDown(self):
     # Call parent shutDown method.
     BaseThreadedModule.shutDown(self)
     try:
         self.socket.close()
         self.context.term()
     except AttributeError:
         pass
示例#5
0
 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)
示例#6
0
 def shutDown(self):
     try:
         self.buffer.flush()
     except:
         pass
     BaseThreadedModule.shutDown(self)
示例#7
0
 def shutDown(self):
     # Call parent configure method.
     BaseThreadedModule.shutDown(self)
     self.socket.close()
     self.socket = None
示例#8
0
 def shutDown(self):
     # Call parent configure method.
     BaseThreadedModule.shutDown(self)
     self.socket.close()
     self.socket = None
示例#9
0
 def shutDown(self):
     # Push any remaining facet data.
     self.evaluateFacets()
     # Call parent configure method.
     BaseThreadedModule.shutDown(self)
示例#10
0
 def shutDown(self):
     # Push any remaining facet data.
     self.evaluateFacets()
     # Call parent configure method.
     BaseThreadedModule.shutDown(self)
示例#11
0
 def shutDown(self):
     BaseThreadedModule.shutDown(self)
     for thread in self.lookup_threads:
         thread.stop()
         thread.join()
示例#12
0
 def shutDown(self):
     self.syslog_handler.close()
     BaseThreadedModule.shutDown(self)
示例#13
0
 def shutDown(self):
     BaseThreadedModule.shutDown(self)
     for thread in self.lookup_threads:
         thread.stop()
         thread.join()
示例#14
0
 def shutDown(self):
     self.buffer.flush()
     self.closeAllFileHandles()
     BaseThreadedModule.shutDown(self)
示例#15
0
 def shutDown(self):
     self.syslog_handler.close()
     BaseThreadedModule.shutDown(self)
示例#16
0
 def shutDown(self):
     try:
         self.buffer.flush()
     except:
         pass
     BaseThreadedModule.shutDown(self)
示例#17
0
 def shutDown(self):
     self.mp_stats_collector.shutDown()
     BaseThreadedModule.shutDown(self)