@Override public XaTransaction create( long lastCommittedTxWhenTransactionStarted, TransactionState state) { NeoStoreTransactionContext context = neoStoreTransactionContextSupplier.acquire(); context.bind(state); return new NeoStoreTransaction( lastCommittedTxWhenTransactionStarted, getLogicalLog(), neoStore, cacheAccess, indexingService, labelScanStore, integrityValidator, (KernelTransactionImplementation) kernel.newTransaction(), locks, context); }
@Override public XaTransaction create( long lastCommittedTxWhenTransactionStarted, TransactionState state) { TransactionInterceptor first = providers.resolveChain(NeoStoreXaDataSource.this); NeoStoreTransactionContext context = neoStoreTransactionContextSupplier.acquire(); context.bind(state); return new InterceptingWriteTransaction( lastCommittedTxWhenTransactionStarted, getLogicalLog(), neoStore, cacheAccess, indexingService, labelScanStore, first, integrityValidator, (KernelTransactionImplementation) kernel.newTransaction(), locks, context); }