Пример #1
0
 def __init__(self):
     self.__config = GetConfig()
     self.__log = Logger('exceedDateKeyCleanTask')
     self.__redisClient = RedisClient(self.__config.redis_host(),
                                      self.__config.redis_port(),
                                      self.__config.redis_password())
     pass
Пример #2
0
 def __init__(self):
     self.__keyCleanTask = KeyClearTask()
     self.__config = GetConfig()
     self.__redisClient = RedisClient(self.__config.redis_host(),
                                      self.__config.redis_port(),
                                      self.__config.redis_password())
Пример #3
0
 def __init__(self):
   self.__config = GetConfig()
   self.__log = Logger('exceedDateKeyCleanTask')
   self.__redisClient = RedisClient(self.__config.redis_host(), self.__config.redis_port(), self.__config.redis_password())
   self.__taskName = 'clean exceed date redis key'
   self.__className = self.__class__