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

@param wrappedConnection Connection to wrap
@return Wrapped connection
Wrap a connection to monitor it .