#NEWLINE# def __init__( self , reactor , host , port , keysPattern ) : #NEWLINE# #INDENT# '\n        @param keysPattern: Pattern of keys to poll the list length for.\n        ' #NEWLINE# self . reactor = reactor #NEWLINE# self . host = host #NEWLINE# self . port = port #NEWLINE# self . keysPattern = keysPattern #NEWLINE# self . factory = RedisClientFactory ( ) #NEWLINE# self . connector = None #NEWLINE# self . basePath = 'redis.{}.list.' . format ( sanitizeMetricElement ( host ) ) #NEWLINE# self . lc = task . LoopingCall ( self . poll )