Ejemplo n.º 1
0
 public RecoveryStartInformationProvider(LogTailScanner logTailScanner, Monitor monitor)
 {
     this._logTailScanner = logTailScanner;
     this._monitor        = monitor;
 }
Ejemplo n.º 2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Before public void setUp() throws java.io.IOException
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void SetUp()
        {
            _logVersionRepository = new SimpleLogVersionRepository();
            _logFiles             = LogFilesBuilder.activeFilesBuilder(_testDirectory.databaseLayout(), _fsRule, _pageCacheRule.getPageCache(_fsRule)).withLogVersionRepository(_logVersionRepository).build();
            _tailScanner          = new LogTailScanner(_logFiles, _reader, _monitors);
        }