private static final AtomicLong HISTORY_COUNTER = new AtomicLong();
private static final AtomicLong TX_COUNTER = new AtomicLong();
private static final AtomicLong HISTORY_COUNTER = new AtomicLong();
private static final AtomicLong TX_COUNTER = new AtomicLong();
protected static TransactionIdentifier nextTransactionId() {
return new TransactionIdentifier(HISTORY_ID, TX_COUNTER.getAndIncrement());
}
protected static TransactionIdentifier nextTransactionId() {
return new TransactionIdentifier(HISTORY_ID, TX_COUNTER.getAndIncrement());
}