Search in sources :

Example 1 with MasterTransactionCommitProcess

use of org.neo4j.kernel.ha.MasterTransactionCommitProcess in project neo4j by neo4j.

the class CommitProcessSwitcher method getMasterImpl.

@Override
protected TransactionCommitProcess getMasterImpl() {
    TransactionCommitProcess commitProcess = new TransactionRepresentationCommitProcess(dependencyResolver.resolveDependency(TransactionAppender.class), dependencyResolver.resolveDependency(StorageEngine.class));
    IntegrityValidator validator = dependencyResolver.resolveDependency(IntegrityValidator.class);
    return new MasterTransactionCommitProcess(commitProcess, txPropagator, validator, monitor, locks, reacquireSharedSchemaLockOnIncomingTransactions);
}
Also used : IntegrityValidator(org.neo4j.kernel.impl.transaction.state.IntegrityValidator) MasterTransactionCommitProcess(org.neo4j.kernel.ha.MasterTransactionCommitProcess) SlaveTransactionCommitProcess(org.neo4j.kernel.ha.SlaveTransactionCommitProcess) TransactionCommitProcess(org.neo4j.kernel.impl.api.TransactionCommitProcess) TransactionRepresentationCommitProcess(org.neo4j.kernel.impl.api.TransactionRepresentationCommitProcess) TransactionAppender(org.neo4j.kernel.impl.transaction.log.TransactionAppender) MasterTransactionCommitProcess(org.neo4j.kernel.ha.MasterTransactionCommitProcess) StorageEngine(org.neo4j.storageengine.api.StorageEngine)

Aggregations

MasterTransactionCommitProcess (org.neo4j.kernel.ha.MasterTransactionCommitProcess)1 SlaveTransactionCommitProcess (org.neo4j.kernel.ha.SlaveTransactionCommitProcess)1 TransactionCommitProcess (org.neo4j.kernel.impl.api.TransactionCommitProcess)1 TransactionRepresentationCommitProcess (org.neo4j.kernel.impl.api.TransactionRepresentationCommitProcess)1 TransactionAppender (org.neo4j.kernel.impl.transaction.log.TransactionAppender)1 IntegrityValidator (org.neo4j.kernel.impl.transaction.state.IntegrityValidator)1 StorageEngine (org.neo4j.storageengine.api.StorageEngine)1