public TimeBasedAssistantController(ThrottleGovernor governor, ITimeBasedAssistantType timeBasedAssistantType)
 {
     this.timeBasedAssistantType = timeBasedAssistantType;
     this.workCyclePeriod        = this.timeBasedAssistantType.WorkCycle;
     this.workCycleCheckpoint    = this.timeBasedAssistantType.WorkCycleCheckpoint;
     this.governor = governor;
 }
 internal TimeBasedStoreDatabaseDriver(ThrottleGovernor parentGovernor, DatabaseInfo databaseInfo, ITimeBasedAssistantType timeBasedAssistantType, PoisonMailboxControl poisonControl, PerformanceCountersPerDatabaseInstance databaseCounters) : base(parentGovernor, databaseInfo, timeBasedAssistantType, poisonControl, databaseCounters)
 {
 }
 // Token: 0x0600005A RID: 90 RVA: 0x00003B14 File Offset: 0x00001D14
 public override TimeBasedDatabaseDriver CreateDriver(ThrottleGovernor governor, DatabaseInfo databaseInfo, ITimeBasedAssistantType timeBasedAssistantType, PoisonMailboxControl poisonControl, PerformanceCountersPerDatabaseInstance databaseCounters)
 {
     return(new TimeBasedAdminRpcDatabaseDriver(governor, databaseInfo, timeBasedAssistantType, poisonControl, databaseCounters));
 }
 // Token: 0x060015B5 RID: 5557 RVA: 0x0007AA6D File Offset: 0x00078C6D
 public override TimeBasedDatabaseDriver CreateDriver(ThrottleGovernor governor, DatabaseInfo databaseInfo, ITimeBasedAssistantType timeBasedAssistantType, PoisonMailboxControl poisonControl, PerformanceCountersPerDatabaseInstance databaseCounters)
 {
     this.TraceDebugExecuting(ExTraceGlobals.ProbeTimeBasedAssistantTracer.IsTraceEnabled(TraceType.DebugTrace) ? MethodBase.GetCurrentMethod().Name : string.Empty);
     return(base.CreateDriver(governor, databaseInfo, timeBasedAssistantType, poisonControl, databaseCounters));
 }
 // Token: 0x060003C8 RID: 968 RVA: 0x00011DC8 File Offset: 0x0000FFC8
 internal TimeBasedDatabaseDriver(ThrottleGovernor parentGovernor, DatabaseInfo databaseInfo, ITimeBasedAssistantType timeBasedAssistantType, PoisonMailboxControl poisonControl, PerformanceCountersPerDatabaseInstance databaseCounters)
 {
     this.databaseInfo        = databaseInfo;
     this.performanceCounters = databaseCounters;
     this.governor            = new DatabaseGovernor("time based for '" + databaseInfo.DisplayName + "'", parentGovernor, new Throttle("TimeBasedDatabaseDriver", parentGovernor.Throttle.OpenThrottleValue, parentGovernor.Throttle));
     this.assistant           = timeBasedAssistantType.CreateInstance(databaseInfo);
     if (this.assistant == null)
     {
         throw new ApplicationException(string.Format("Assistant failed to create instance, assistant type {0}", timeBasedAssistantType.NonLocalizedName));
     }
     this.poisonControl          = poisonControl;
     this.assistantType          = timeBasedAssistantType;
     this.assistantWorkloadState = TimeBasedDatabaseDriver.AssistantWorkloadStateOnDatabase.Enabled;
     this.windowJobHistory       = new DiagnosticsHistoryQueue <DiagnosticsSummaryJobWindow>(100);
 }
Пример #6
0
 // Token: 0x06000057 RID: 87
 public abstract TimeBasedDatabaseDriver CreateDriver(ThrottleGovernor governor, DatabaseInfo databaseInfo, ITimeBasedAssistantType timeBasedAssistantType, PoisonMailboxControl poisonControl, PerformanceCountersPerDatabaseInstance databaseCounters);