internal RotationStrategy(FileSystemAbstraction fs, PageCache pages, ProgressiveFormat format, RotationMonitor monitor) { this.Fs = fs; this.Pages = pages; this._format = format; this._monitor = monitor; }
RotationStrategy create(FileSystemAbstraction fs, PageCache pages, ProgressiveFormat format, RotationMonitor monitor, DatabaseLayout databaseLayout) { final File left = databaseLayout.countStoreA(); final File right = databaseLayout.countStoreB(); return(new RotationStrategy.LeftRight(fs, pages, format, monitor, left, right)); }
internal Incrementing(FileSystemAbstraction fs, PageCache pages, ProgressiveFormat format, RotationMonitor monitor, DatabaseLayout databaseLayout) : base(fs, pages, format, monitor) { this.DatabaseLayout = databaseLayout; BaseName = databaseLayout.CountStoreA().Name; }
internal LeftRight(FileSystemAbstraction fs, PageCache pages, ProgressiveFormat format, RotationMonitor monitor, File left, File right) : base(fs, pages, format, monitor) { this.Left = left; this.Right = right; }