private void onAcquire ( final PooledConnection conn , String httpMethod , String uriStr , int attemptNum , CurrentPassport passport ) { passport . setOnChannel ( conn . getChannel ( ) ) ; removeIdleStateHandler ( conn ) ; conn . setInUse ( ) ; if ( LOG . isDebugEnabled ( ) ) LOG . debug ( "PooledConnection acquired: " + conn . toString ( ) ) ; }
function to run when a connection is acquired before returning it to caller .