public void Dispose() { _io?.Dispose(); _io = null; _reader = null; _writer = null; }
public EndlessFileStream(EndlessFileStreamSettings settings, IEndlessFileStreamWriter writer = null, IEndlessFileStreamReader reader = null, IEndlessFileStreamIo io = null) { //_settings = settings; _io = io ?? new EndlessFileStreamIo(settings.BaseDirectory, settings.MaxLogFileSizeInMByte, settings.MaxLogFileSizeInKByte, settings.NumberOfLogFilesToUseForCentralDatabase); _writer = writer ?? new EndlessFileStreamWriter(_io); _reader = reader ?? new EndlessFileStreamReader(_io); }
public EndlessFileStreamWriter(IEndlessFileStreamIo fileIo) { _fileIo = fileIo; }
public EndlessFileStreamReader(IEndlessFileStreamIo fileIo) { _fileIo = fileIo; }