*/
public final void merge(TransactionStatistics transactionStatistics) {
if (log.isTraceEnabled()) {
log.tracef("Merge transaction statistics %s to the node statistics", transactionStatistics);
}
ReservoirSampler reservoirSampler;
ExtendedStatistic percentileSample;
if (transactionStatistics.isLocalTransaction()) {
if (transactionStatistics.isReadOnly()) {
reservoirSampler = percentiles.get(RO_LOCAL_EXECUTION);
percentileSample = transactionStatistics.isCommitted() ? RO_TX_SUCCESSFUL_EXECUTION_TIME :