#NEWLINE# def put( self , obj ) : #NEWLINE# #INDENT# key = ( ( obj . node . name + str ( obj . port ) ) + obj . pool . name ) #NEWLINE# if ( obj . lb is not None ) : #NEWLINE# #INDENT# key = ( obj . lb . host + key ) #NEWLINE# #UNINDENT# key = hash ( key ) #NEWLINE# self . _cache [ key ] = obj