public Statement wrapStatement ( Statement statement ) { Timer . Context lifeTimerContext = getMetricHelper ( ) . startStatementLifeTimer ( ) ; return newProxy ( new StatementProxyHandler ( statement , this , lifeTimerContext ) ) ; }
Wrap a simple statement to monitor it .