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);
}
Aggregations