public ValuesHistoryMiddleware(
     IPgSettings pgSettings,
     ISystemStorage systemStorage)
 {
     this.pgSettings    = pgSettings;
     this.systemStorage = systemStorage;
 }
Beispiel #2
0
 public WorkMem(
     IHardwareInfo hardwareInfo,
     IPgSettings pgSettings,
     ILogger <WorkMem> logger) : base(logger)
 {
     this.hardwareInfo = hardwareInfo;
     this.pgSettings   = pgSettings;
 }
Beispiel #3
0
 public MaxLocksPerTransaction(
     IDatabaseServer databaseServer,
     IPgSettings pgSettings,
     ILogger <MaxLocksPerTransaction> logger) : base(logger)
 {
     this.databaseServer = databaseServer;
     this.pgSettings     = pgSettings;
 }
Beispiel #4
0
 public AutovacuumVacuumCostLimit(
     IBloatAnalysis bloatAnalysis,
     IPgSettings pgSettings,
     ILogger <IntegerParameterBase> logger) : base(logger)
 {
     this.bloatAnalysis = bloatAnalysis;
     this.pgSettings    = pgSettings;
 }
Beispiel #5
0
 public ValueCalculationsMiddleware(
     IEnumerable <IParameter> parameters,
     IPgSettings pgSettings,
     ILogger <ValueCalculationsMiddleware> logger)
 {
     this.parameters = parameters.ToImmutableArray();
     this.pgSettings = pgSettings;
     this.logger     = logger;
 }
Beispiel #6
0
 public MaxWalSize(
     IWalLsnHistory walLsnHistory,
     IDatabaseServer databaseServer,
     IPgSettings pgSettings,
     ILogger <MaxWalSize> logger) : base(logger)
 {
     this.walLsnHistory  = walLsnHistory;
     this.databaseServer = databaseServer;
     this.pgSettings     = pgSettings;
 }
 public ParametersAdjustmentMiddleware(IPgSettings pgSettings) => this.pgSettings = pgSettings;
Beispiel #8
0
 public CheckpointWarning(
     IPgSettings pgSettings,
     ILogger <TimeSpanParameterBase> logger) : base(logger)
     => this.pgSettings = pgSettings;
Beispiel #9
0
 public CheckpointCompletionTarget(
     IPgSettings pgSettings,
     ILogger <FractionParameterBase> logger) : base(logger)
     => this.pgSettings = pgSettings;
Beispiel #10
0
 public WalBuffers(
     IPgSettings pgSettings,
     ILogger <MemoryParameterBase> logger) : base(logger)
     => this.pgSettings = pgSettings;