boolean haveClosed() { return !transaction.isOpen(); } }
public KernelTransactionsSnapshot( Set<KernelTransactionHandle> allTransactions, long snapshotTime ) { Tx head = null; for ( KernelTransactionHandle tx : allTransactions ) { if ( tx.isOpen() ) { Tx current = new Tx( tx ); if ( head != null ) { current.next = head; head = current; } else { head = current; } } } relevantTransactions = head; this.snapshotTime = snapshotTime; }
boolean haveClosed() { return !transaction.isOpen(); } }
public KernelTransactionsSnapshot( Set<KernelTransactionHandle> allTransactions, long snapshotTime ) { Tx head = null; for ( KernelTransactionHandle tx : allTransactions ) { if ( tx.isOpen() ) { Tx current = new Tx( tx ); if ( head != null ) { current.next = head; head = current; } else { head = current; } } } relevantTransactions = head; this.snapshotTime = snapshotTime; }