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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbgwriterDelay
(Integer bgwriterDelay) bgwriterFlushAfter
(Integer bgwriterFlushAfter) bgwriterLruMaxpages
(Integer bgwriterLruMaxpages) bgwriterLruMultiplier
(BigDecimal bgwriterLruMultiplier) boolean
Return true if this Background__BG__writer_settings object is equal to o.Specifies the delay between activity rounds for the background writer in milliseconds.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.In each round, no more than this many buffers will be written by the background writer.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) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_BGWRITER_DELAY
- See Also:
-
JSON_PROPERTY_BGWRITER_FLUSH_AFTER
- See Also:
-
JSON_PROPERTY_BGWRITER_LRU_MAXPAGES
- See Also:
-
JSON_PROPERTY_BGWRITER_LRU_MULTIPLIER
- See Also:
-
-
Constructor Details
-
BackgroundBGWriterSettings
public BackgroundBGWriterSettings()
-
-
Method Details
-
bgwriterDelay
-
getBgwriterDelay
Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. minimum: 10 maximum: 10000- Returns:
- bgwriterDelay
-
setBgwriterDelay
-
bgwriterFlushAfter
-
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
-
bgwriterLruMaxpages
-
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
-
bgwriterLruMultiplier
-
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
-
equals
Return true if this Background__BG__writer_settings object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-