Class AutovacuumSettings

java.lang.Object
com.exoscale.sdk.model.AutovacuumSettings

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class AutovacuumSettings extends Object
AutovacuumSettings
  • Field Details

    • JSON_PROPERTY_LOG_AUTOVACUUM_MIN_DURATION

      public static final String JSON_PROPERTY_LOG_AUTOVACUUM_MIN_DURATION
      See Also:
    • JSON_PROPERTY_AUTOVACUUM_VACUUM_COST_LIMIT

      public static final String JSON_PROPERTY_AUTOVACUUM_VACUUM_COST_LIMIT
      See Also:
    • JSON_PROPERTY_AUTOVACUUM_MAX_WORKERS

      public static final String JSON_PROPERTY_AUTOVACUUM_MAX_WORKERS
      See Also:
    • JSON_PROPERTY_AUTOVACUUM_VACUUM_THRESHOLD

      public static final String JSON_PROPERTY_AUTOVACUUM_VACUUM_THRESHOLD
      See Also:
    • JSON_PROPERTY_AUTOVACUUM_NAPTIME

      public static final String JSON_PROPERTY_AUTOVACUUM_NAPTIME
      See Also:
    • JSON_PROPERTY_AUTOVACUUM_VACUUM_SCALE_FACTOR

      public static final String JSON_PROPERTY_AUTOVACUUM_VACUUM_SCALE_FACTOR
      See Also:
    • JSON_PROPERTY_AUTOVACUUM_VACUUM_COST_DELAY

      public static final String JSON_PROPERTY_AUTOVACUUM_VACUUM_COST_DELAY
      See Also:
    • JSON_PROPERTY_AUTOVACUUM_ANALYZE_SCALE_FACTOR

      public static final String JSON_PROPERTY_AUTOVACUUM_ANALYZE_SCALE_FACTOR
      See Also:
    • JSON_PROPERTY_AUTOVACUUM_ANALYZE_THRESHOLD

      public static final String JSON_PROPERTY_AUTOVACUUM_ANALYZE_THRESHOLD
      See Also:
    • JSON_PROPERTY_AUTOVACUUM_FREEZE_MAX_AGE

      public static final String JSON_PROPERTY_AUTOVACUUM_FREEZE_MAX_AGE
      See Also:
  • Constructor Details

    • AutovacuumSettings

      public AutovacuumSettings()
  • Method Details

    • logAutovacuumMinDuration

      public AutovacuumSettings logAutovacuumMinDuration(Integer logAutovacuumMinDuration)
    • getLogAutovacuumMinDuration

      @Nullable public Integer getLogAutovacuumMinDuration()
      Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions. minimum: -1 maximum: 2147483647
      Returns:
      logAutovacuumMinDuration
    • setLogAutovacuumMinDuration

      public void setLogAutovacuumMinDuration(Integer logAutovacuumMinDuration)
    • autovacuumVacuumCostLimit

      public AutovacuumSettings autovacuumVacuumCostLimit(Integer autovacuumVacuumCostLimit)
    • getAutovacuumVacuumCostLimit

      @Nullable public Integer getAutovacuumVacuumCostLimit()
      Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used. minimum: -1 maximum: 10000
      Returns:
      autovacuumVacuumCostLimit
    • setAutovacuumVacuumCostLimit

      public void setAutovacuumVacuumCostLimit(Integer autovacuumVacuumCostLimit)
    • autovacuumMaxWorkers

      public AutovacuumSettings autovacuumMaxWorkers(Integer autovacuumMaxWorkers)
    • getAutovacuumMaxWorkers

      @Nullable public Integer getAutovacuumMaxWorkers()
      Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start. minimum: 1 maximum: 20
      Returns:
      autovacuumMaxWorkers
    • setAutovacuumMaxWorkers

      public void setAutovacuumMaxWorkers(Integer autovacuumMaxWorkers)
    • autovacuumVacuumThreshold

      public AutovacuumSettings autovacuumVacuumThreshold(Integer autovacuumVacuumThreshold)
    • getAutovacuumVacuumThreshold

      @Nullable public Integer getAutovacuumVacuumThreshold()
      Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples minimum: 0 maximum: 2147483647
      Returns:
      autovacuumVacuumThreshold
    • setAutovacuumVacuumThreshold

      public void setAutovacuumVacuumThreshold(Integer autovacuumVacuumThreshold)
    • autovacuumNaptime

      public AutovacuumSettings autovacuumNaptime(Integer autovacuumNaptime)
    • getAutovacuumNaptime

      @Nullable public Integer getAutovacuumNaptime()
      Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute minimum: 1 maximum: 86400
      Returns:
      autovacuumNaptime
    • setAutovacuumNaptime

      public void setAutovacuumNaptime(Integer autovacuumNaptime)
    • autovacuumVacuumScaleFactor

      public AutovacuumSettings autovacuumVacuumScaleFactor(BigDecimal autovacuumVacuumScaleFactor)
    • getAutovacuumVacuumScaleFactor

      @Nullable public BigDecimal getAutovacuumVacuumScaleFactor()
      Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size) minimum: 0.0 maximum: 1.0
      Returns:
      autovacuumVacuumScaleFactor
    • setAutovacuumVacuumScaleFactor

      public void setAutovacuumVacuumScaleFactor(BigDecimal autovacuumVacuumScaleFactor)
    • autovacuumVacuumCostDelay

      public AutovacuumSettings autovacuumVacuumCostDelay(Integer autovacuumVacuumCostDelay)
    • getAutovacuumVacuumCostDelay

      @Nullable public Integer getAutovacuumVacuumCostDelay()
      Specifies the cost delay value that will be used in automatic VACUUM operations. If -1 is specified, the regular vacuum_cost_delay value will be used. The default value is 20 milliseconds minimum: -1 maximum: 100
      Returns:
      autovacuumVacuumCostDelay
    • setAutovacuumVacuumCostDelay

      public void setAutovacuumVacuumCostDelay(Integer autovacuumVacuumCostDelay)
    • autovacuumAnalyzeScaleFactor

      public AutovacuumSettings autovacuumAnalyzeScaleFactor(BigDecimal autovacuumAnalyzeScaleFactor)
    • getAutovacuumAnalyzeScaleFactor

      @Nullable public BigDecimal getAutovacuumAnalyzeScaleFactor()
      Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size) minimum: 0.0 maximum: 1.0
      Returns:
      autovacuumAnalyzeScaleFactor
    • setAutovacuumAnalyzeScaleFactor

      public void setAutovacuumAnalyzeScaleFactor(BigDecimal autovacuumAnalyzeScaleFactor)
    • autovacuumAnalyzeThreshold

      public AutovacuumSettings autovacuumAnalyzeThreshold(Integer autovacuumAnalyzeThreshold)
    • getAutovacuumAnalyzeThreshold

      @Nullable public Integer getAutovacuumAnalyzeThreshold()
      Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples. minimum: 0 maximum: 2147483647
      Returns:
      autovacuumAnalyzeThreshold
    • setAutovacuumAnalyzeThreshold

      public void setAutovacuumAnalyzeThreshold(Integer autovacuumAnalyzeThreshold)
    • autovacuumFreezeMaxAge

      public AutovacuumSettings autovacuumFreezeMaxAge(Integer autovacuumFreezeMaxAge)
    • getAutovacuumFreezeMaxAge

      @Nullable public Integer getAutovacuumFreezeMaxAge()
      Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted. minimum: 200000000 maximum: 1500000000
      Returns:
      autovacuumFreezeMaxAge
    • setAutovacuumFreezeMaxAge

      public void setAutovacuumFreezeMaxAge(Integer autovacuumFreezeMaxAge)
    • equals

      public boolean equals(Object o)
      Return true if this Autovacuum_settings object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string