示例#1
0
 internal RotationStrategy(FileSystemAbstraction fs, PageCache pages, ProgressiveFormat format, RotationMonitor monitor)
 {
     this.Fs       = fs;
     this.Pages    = pages;
     this._format  = format;
     this._monitor = monitor;
 }
示例#2
0
 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));
 }
示例#3
0
 internal Incrementing(FileSystemAbstraction fs, PageCache pages, ProgressiveFormat format, RotationMonitor monitor, DatabaseLayout databaseLayout) : base(fs, pages, format, monitor)
 {
     this.DatabaseLayout = databaseLayout;
     BaseName            = databaseLayout.CountStoreA().Name;
 }
示例#4
0
 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;
 }