Package com.exoscale.sdk.model
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 Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_AUTOVACUUM_ANALYZE_SCALE_FACTOR
static String
JSON_PROPERTY_AUTOVACUUM_ANALYZE_THRESHOLD
static String
JSON_PROPERTY_AUTOVACUUM_FREEZE_MAX_AGE
static String
JSON_PROPERTY_AUTOVACUUM_MAX_WORKERS
static String
JSON_PROPERTY_AUTOVACUUM_NAPTIME
static String
JSON_PROPERTY_AUTOVACUUM_VACUUM_COST_DELAY
static String
JSON_PROPERTY_AUTOVACUUM_VACUUM_COST_LIMIT
static String
JSON_PROPERTY_AUTOVACUUM_VACUUM_SCALE_FACTOR
static String
JSON_PROPERTY_AUTOVACUUM_VACUUM_THRESHOLD
static String
JSON_PROPERTY_LOG_AUTOVACUUM_MIN_DURATION
-
Constructor Summary
Constructors Constructor Description AutovacuumSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutovacuumSettings
autovacuumAnalyzeScaleFactor(BigDecimal autovacuumAnalyzeScaleFactor)
AutovacuumSettings
autovacuumAnalyzeThreshold(Integer autovacuumAnalyzeThreshold)
AutovacuumSettings
autovacuumFreezeMaxAge(Integer autovacuumFreezeMaxAge)
AutovacuumSettings
autovacuumMaxWorkers(Integer autovacuumMaxWorkers)
AutovacuumSettings
autovacuumNaptime(Integer autovacuumNaptime)
AutovacuumSettings
autovacuumVacuumCostDelay(Integer autovacuumVacuumCostDelay)
AutovacuumSettings
autovacuumVacuumCostLimit(Integer autovacuumVacuumCostLimit)
AutovacuumSettings
autovacuumVacuumScaleFactor(BigDecimal autovacuumVacuumScaleFactor)
AutovacuumSettings
autovacuumVacuumThreshold(Integer autovacuumVacuumThreshold)
boolean
equals(Object o)
Return true if this Autovacuum_settings object is equal to o.BigDecimal
getAutovacuumAnalyzeScaleFactor()
Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE.Integer
getAutovacuumAnalyzeThreshold()
Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table.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.Integer
getAutovacuumMaxWorkers()
Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time.Integer
getAutovacuumNaptime()
Specifies the minimum delay between autovacuum runs on any given database.Integer
getAutovacuumVacuumCostDelay()
Specifies the cost delay value that will be used in automatic VACUUM operations.Integer
getAutovacuumVacuumCostLimit()
Specifies the cost limit value that will be used in automatic VACUUM operations.BigDecimal
getAutovacuumVacuumScaleFactor()
Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM.Integer
getAutovacuumVacuumThreshold()
Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table.Integer
getLogAutovacuumMinDuration()
Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds.int
hashCode()
AutovacuumSettings
logAutovacuumMinDuration(Integer logAutovacuumMinDuration)
void
setAutovacuumAnalyzeScaleFactor(BigDecimal autovacuumAnalyzeScaleFactor)
void
setAutovacuumAnalyzeThreshold(Integer autovacuumAnalyzeThreshold)
void
setAutovacuumFreezeMaxAge(Integer autovacuumFreezeMaxAge)
void
setAutovacuumMaxWorkers(Integer autovacuumMaxWorkers)
void
setAutovacuumNaptime(Integer autovacuumNaptime)
void
setAutovacuumVacuumCostDelay(Integer autovacuumVacuumCostDelay)
void
setAutovacuumVacuumCostLimit(Integer autovacuumVacuumCostLimit)
void
setAutovacuumVacuumScaleFactor(BigDecimal autovacuumVacuumScaleFactor)
void
setAutovacuumVacuumThreshold(Integer autovacuumVacuumThreshold)
void
setLogAutovacuumMinDuration(Integer logAutovacuumMinDuration)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_LOG_AUTOVACUUM_MIN_DURATION
public static final String JSON_PROPERTY_LOG_AUTOVACUUM_MIN_DURATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTOVACUUM_VACUUM_COST_LIMIT
public static final String JSON_PROPERTY_AUTOVACUUM_VACUUM_COST_LIMIT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTOVACUUM_MAX_WORKERS
public static final String JSON_PROPERTY_AUTOVACUUM_MAX_WORKERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTOVACUUM_VACUUM_THRESHOLD
public static final String JSON_PROPERTY_AUTOVACUUM_VACUUM_THRESHOLD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTOVACUUM_NAPTIME
public static final String JSON_PROPERTY_AUTOVACUUM_NAPTIME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTOVACUUM_VACUUM_SCALE_FACTOR
public static final String JSON_PROPERTY_AUTOVACUUM_VACUUM_SCALE_FACTOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTOVACUUM_VACUUM_COST_DELAY
public static final String JSON_PROPERTY_AUTOVACUUM_VACUUM_COST_DELAY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTOVACUUM_ANALYZE_SCALE_FACTOR
public static final String JSON_PROPERTY_AUTOVACUUM_ANALYZE_SCALE_FACTOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTOVACUUM_ANALYZE_THRESHOLD
public static final String JSON_PROPERTY_AUTOVACUUM_ANALYZE_THRESHOLD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTOVACUUM_FREEZE_MAX_AGE
public static final String JSON_PROPERTY_AUTOVACUUM_FREEZE_MAX_AGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-