public void addResultSetHoldTimeNano(long statementExecuteNano, long resultHoldTimeNano) { resultSetHoldTimeNanoUpdater.addAndGet(this, resultHoldTimeNano); executeAndResultSetHoldTimeUpdater.addAndGet(this, statementExecuteNano + resultHoldTimeNano); executeAndResultHoldTimeHistogramRecord( (statementExecuteNano + resultHoldTimeNano) / 1000 / 1000); updateCount_0_1_Updater.incrementAndGet(this); }
public void addExecuteTime( StatementExecuteType executeType, boolean firstResultSet, long nanoSpan) { addExecuteTime(nanoSpan); if (StatementExecuteType.ExecuteQuery != executeType && !firstResultSet) { executeAndResultHoldTimeHistogramRecord(nanoSpan); } }