Class BackgroundBGWriterSettings


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

      • BackgroundBGWriterSettings

        public BackgroundBGWriterSettings()
    • Method Detail

      • 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)
      • 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)
      • 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)
      • 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode 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