private String describe( Set<KernelTransactionHandle> allBlockers ) { if ( allBlockers.isEmpty() ) { return StringUtils.EMPTY; } StringJoiner stringJoiner = new StringJoiner( ", ", "[", "]" ); for ( KernelTransactionHandle blocker : allBlockers ) { stringJoiner.add( blocker.getUserTransactionName() ); } return stringJoiner.toString(); } }
Map<KernelTransactionHandle,List<QuerySnapshot>> handleSnapshotsMap, ZoneId zoneId ) throws InvalidArgumentsException this.transactionId = transaction.getUserTransactionName(); this.username = transaction.subject().username(); this.startTime = ProceduresTimeFormatHelper.formatTime( transaction.startTime(), zoneId );