Ejemplo n.º 1
0
 def __init__(self, flush_period=86400, retrieve_mode='copy', **kwarg):
     ThreadBase.__init__(self, **kwarg)
     if flush_period is None:
         self.flush_period = 86400
     else:
         self.flush_period = flush_period
     self.retrieve_mode = retrieve_mode
Ejemplo n.º 2
0
 def __init__(self, flush_period=86400, limit=6000, **kwarg):
     ThreadBase.__init__(self, **kwarg)
     if flush_period is None:
         self.flush_period = 86400
     else:
         self.flush_period = flush_period
     if limit is not None:
         self.limit = limit
     else:
         self.limit = 6000
Ejemplo n.º 3
0
 def __init__(self, retrieve_mode='copy', **kwarg):
     ThreadBase.__init__(self, **kwarg)
     self.retrieve_mode = retrieve_mode
Ejemplo n.º 4
0
 def __init__(self, limit=6000, **kwarg):
     ThreadBase.__init__(self, **kwarg)
     if limit is not None:
         self.limit = limit
     else:
         self.limit = 6000
Ejemplo n.º 5
0
 def __init__(self, sleep_period=60, delay_time=7200):
     ThreadBase.__init__(self)
     self.delay_time = delay_time
Ejemplo n.º 6
0
 def __init__(self, grace_period=86400, **kwarg):
     ThreadBase.__init__(self, **kwarg)
     if grace_period is None:
         self.grace_period = 86400
     else:
         self.grace_period = grace_period