Exemplo n.º 1
0
 private void InitializeInstanceFields()
 {
     _timerService = new CountingTimerService(_scheduler, NullLogProvider.Instance);
     when(_localDatabase.storeId()).thenReturn(_storeId);
     when(_topologyService.findCatchupAddress(_coreMemberId)).thenReturn(_coreMemberAddress);
     _txPuller = new CatchupPollingProcess(NullLogProvider.Instance, _localDatabase, _startStopOnStoreCopy, _catchUpClient, _strategyPipeline, _timerService, _txPullIntervalMillis, _txApplier, new Monitors(), _storeCopyProcess, () => mock(typeof(DatabaseHealth)), _topologyService);
 }
Exemplo n.º 2
0
 public CatchUpResponseAdaptorAnonymousInnerClass(CatchupPollingProcess outerInstance, Org.Neo4j.causalclustering.catchup.tx.TxStreamFinishedResponse response)
 {
     this.outerInstance = outerInstance;
     this._response     = response;
 }