Exemplo n.º 1
0
        public CatchupPollingProcess(LogProvider logProvider, LocalDatabase localDatabase, Suspendable enableDisableOnSoreCopy, CatchUpClient catchUpClient, UpstreamDatabaseStrategySelector selectionStrategy, TimerService timerService, long txPullIntervalMillis, BatchingTxApplier applier, Monitors monitors, StoreCopyProcess storeCopyProcess, System.Func <DatabaseHealth> databaseHealthSupplier, TopologyService topologyService)

        {
            this._localDatabase            = localDatabase;
            this._log                      = logProvider.getLog(this.GetType());
            this._enableDisableOnStoreCopy = enableDisableOnSoreCopy;
            this._catchUpClient            = catchUpClient;
            this._selectionStrategy        = selectionStrategy;
            this._timerService             = timerService;
            this._txPullIntervalMillis     = txPullIntervalMillis;
            this._applier                  = applier;
            this._pullRequestMonitor       = monitors.NewMonitor(typeof(PullRequestMonitor));
            this._storeCopyProcess         = storeCopyProcess;
            this._databaseHealthSupplier   = databaseHealthSupplier;
            this._topologyService          = topologyService;
        }
Exemplo n.º 2
0
 private void InitializeInstanceFields()
 {
     _txApplier = new BatchingTxApplier(_maxBatchSize, () => _idStore, () => _commitProcess, new Monitors(), Org.Neo4j.Io.pagecache.tracing.cursor.PageCursorTracerSupplier_Fields.Null, EmptyVersionContextSupplier.EMPTY, _commandIndexTracker, NullLogProvider.Instance);
 }