Search in sources :

Example 1 with EXTERNAL

use of org.neo4j.storageengine.api.TransactionApplicationMode.EXTERNAL in project neo4j by neo4j.

the class BatchingTxApplier method start.

@Override
public void start() {
    stopped = false;
    refreshFromNewStore();
    txQueue = new TransactionQueue(maxBatchSize, (first, last) -> commitProcess.commit(first, NULL, EXTERNAL));
}
Also used : CommittedTransactionRepresentation(org.neo4j.kernel.impl.transaction.CommittedTransactionRepresentation) LifecycleAdapter(org.neo4j.kernel.lifecycle.LifecycleAdapter) TransactionCommitProcess(org.neo4j.kernel.impl.api.TransactionCommitProcess) TransactionIdStore(org.neo4j.kernel.impl.transaction.log.TransactionIdStore) Log(org.neo4j.logging.Log) EXTERNAL(org.neo4j.storageengine.api.TransactionApplicationMode.EXTERNAL) Monitors(org.neo4j.kernel.monitoring.Monitors) LogProvider(org.neo4j.logging.LogProvider) NULL(org.neo4j.kernel.impl.transaction.tracing.CommitEvent.NULL) Supplier(java.util.function.Supplier) TransactionQueue(org.neo4j.kernel.impl.api.TransactionQueue) TransactionToApply(org.neo4j.kernel.impl.api.TransactionToApply) TransactionQueue(org.neo4j.kernel.impl.api.TransactionQueue)

Aggregations

Supplier (java.util.function.Supplier)1 TransactionCommitProcess (org.neo4j.kernel.impl.api.TransactionCommitProcess)1 TransactionQueue (org.neo4j.kernel.impl.api.TransactionQueue)1 TransactionToApply (org.neo4j.kernel.impl.api.TransactionToApply)1 CommittedTransactionRepresentation (org.neo4j.kernel.impl.transaction.CommittedTransactionRepresentation)1 TransactionIdStore (org.neo4j.kernel.impl.transaction.log.TransactionIdStore)1 NULL (org.neo4j.kernel.impl.transaction.tracing.CommitEvent.NULL)1 LifecycleAdapter (org.neo4j.kernel.lifecycle.LifecycleAdapter)1 Monitors (org.neo4j.kernel.monitoring.Monitors)1 Log (org.neo4j.logging.Log)1 LogProvider (org.neo4j.logging.LogProvider)1 EXTERNAL (org.neo4j.storageengine.api.TransactionApplicationMode.EXTERNAL)1