Пример #1
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)
Пример #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)