Package com.exoscale.sdk.model
Class BackgroundBGWriterSettings
- java.lang.Object
-
- com.exoscale.sdk.model.BackgroundBGWriterSettings
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class BackgroundBGWriterSettings extends Object
BackgroundBGWriterSettings
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_BGWRITER_DELAY
static String
JSON_PROPERTY_BGWRITER_FLUSH_AFTER
static String
JSON_PROPERTY_BGWRITER_LRU_MAXPAGES
static String
JSON_PROPERTY_BGWRITER_LRU_MULTIPLIER
-
Constructor Summary
Constructors Constructor Description BackgroundBGWriterSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackgroundBGWriterSettings
bgwriterDelay(Integer bgwriterDelay)
BackgroundBGWriterSettings
bgwriterFlushAfter(Integer bgwriterFlushAfter)
BackgroundBGWriterSettings
bgwriterLruMaxpages(Integer bgwriterLruMaxpages)
BackgroundBGWriterSettings
bgwriterLruMultiplier(BigDecimal bgwriterLruMultiplier)
boolean
equals(Object o)
Return true if this Background__BG__writer_settings object is equal to o.Integer
getBgwriterDelay()
Specifies the delay between activity rounds for the background writer in milliseconds.Integer
getBgwriterFlushAfter()
Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage.Integer
getBgwriterLruMaxpages()
In each round, no more than this many buffers will be written by the background writer.BigDecimal
getBgwriterLruMultiplier()
The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages).int
hashCode()
void
setBgwriterDelay(Integer bgwriterDelay)
void
setBgwriterFlushAfter(Integer bgwriterFlushAfter)
void
setBgwriterLruMaxpages(Integer bgwriterLruMaxpages)
void
setBgwriterLruMultiplier(BigDecimal bgwriterLruMultiplier)
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_BGWRITER_DELAY
public static final String JSON_PROPERTY_BGWRITER_DELAY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BGWRITER_FLUSH_AFTER
public static final String JSON_PROPERTY_BGWRITER_FLUSH_AFTER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BGWRITER_LRU_MAXPAGES
public static final String JSON_PROPERTY_BGWRITER_LRU_MAXPAGES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BGWRITER_LRU_MULTIPLIER
public static final String JSON_PROPERTY_BGWRITER_LRU_MULTIPLIER
- See Also:
- Constant Field Values
-
-
Method Detail
-
bgwriterDelay
public BackgroundBGWriterSettings bgwriterDelay(Integer bgwriterDelay)
-
getBgwriterDelay
@Nullable public Integer getBgwriterDelay()
Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. minimum: 10 maximum: 10000- Returns:
- bgwriterDelay
-
setBgwriterDelay
public void setBgwriterDelay(Integer bgwriterDelay)
-
bgwriterFlushAfter
public BackgroundBGWriterSettings bgwriterFlushAfter(Integer bgwriterFlushAfter)
-
getBgwriterFlushAfter
@Nullable public Integer getBgwriterFlushAfter()
Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback. minimum: 0 maximum: 2048- Returns:
- bgwriterFlushAfter
-
setBgwriterFlushAfter
public void setBgwriterFlushAfter(Integer bgwriterFlushAfter)
-
bgwriterLruMaxpages
public BackgroundBGWriterSettings bgwriterLruMaxpages(Integer bgwriterLruMaxpages)
-
getBgwriterLruMaxpages
@Nullable public Integer getBgwriterLruMaxpages()
In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100. minimum: 0 maximum: 1073741823- Returns:
- bgwriterLruMaxpages
-
setBgwriterLruMaxpages
public void setBgwriterLruMaxpages(Integer bgwriterLruMaxpages)
-
bgwriterLruMultiplier
public BackgroundBGWriterSettings bgwriterLruMultiplier(BigDecimal bgwriterLruMultiplier)
-
getBgwriterLruMultiplier
@Nullable public BigDecimal getBgwriterLruMultiplier()
The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0. minimum: 0 maximum: 10- Returns:
- bgwriterLruMultiplier
-
setBgwriterLruMultiplier
public void setBgwriterLruMultiplier(BigDecimal bgwriterLruMultiplier)
-
equals
public boolean equals(Object o)
Return true if this Background__BG__writer_settings object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-