public Connection wrapConnection ( Connection wrappedConnection ) { Timer . Context lifeTimerContext = metricHelper . startConnectionLifeTimer ( ) ; return newProxy ( new ConnectionProxyHandler ( wrappedConnection , this , lifeTimerContext ) ) ; }
Wrap a connection to monitor it .