use of org.neo4j.kernel.api.txtracking.TransactionIdTracker in project neo4j by neo4j.
the class ReadReplicaReplicationIT method transactionIdTracker.
private TransactionIdTracker transactionIdTracker(GraphDatabaseAPI database) {
TransactionIdStore transactionIdStore = database.getDependencyResolver().resolveDependency(TransactionIdStore.class);
AvailabilityGuard availabilityGuard = database.getDependencyResolver().resolveDependency(AvailabilityGuard.class);
return new TransactionIdTracker(transactionIdStore, availabilityGuard, Clock.systemUTC());
}
Aggregations