Beispiel #1
0
 public CheckPointerImpl(TransactionIdStore transactionIdStore, CheckPointThreshold threshold, StorageEngine storageEngine, LogPruning logPruning, TransactionAppender appender, DatabaseHealth databaseHealth, LogProvider logProvider, CheckPointTracer tracer, IOLimiter ioLimiter, StoreCopyCheckPointMutex mutex)
 {
     this._appender           = appender;
     this._transactionIdStore = transactionIdStore;
     this._threshold          = threshold;
     this._storageEngine      = storageEngine;
     this._logPruning         = logPruning;
     this._databaseHealth     = databaseHealth;
     this._ioLimiter          = ioLimiter;
     this._msgLog             = logProvider.GetLog(typeof(CheckPointerImpl));
     this._tracer             = tracer;
     this._mutex = mutex;
 }
Beispiel #2
0
 private CheckPointerImpl CheckPointer(StoreCopyCheckPointMutex mutex)
 {
     return(new CheckPointerImpl(_txIdStore, _threshold, _storageEngine, _logPruning, _appender, _health, NullLogProvider.Instance, _tracer, _limiter, mutex));
 }
 internal CheckPointingAction(StoreCopyCheckPointMutex mutex)
 {
     this.Mutex = mutex;
 }