internal TransactionLogFileInformation(LogFiles logFiles, LogHeaderCache logHeaderCache, TransactionLogFilesContext context) { this._logFiles = logFiles; this._logHeaderCache = logHeaderCache; this._logFileContext = context; this._logFileTimestampMapper = new TransactionLogFileTimestampMapper(logFiles, context.LogEntryReader); }
internal TransactionLogFiles(File logsDirectory, string name, TransactionLogFilesContext context) { this._logFilesContext = context; this._logsDirectory = logsDirectory; this._fileHelper = new TransactionLogFilesHelper(logsDirectory, name); this._fileSystem = context.FileSystem; this._monitor = context.LogFileCreationMonitor; this._logHeaderCache = new LogHeaderCache(1000); this._logFileInformation = new TransactionLogFileInformation(this, _logHeaderCache, context); this._logFile = new TransactionLogFile(this, context); }