Class WriteAheadLogWALSettings

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

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

  • Constructor Details

    • WriteAheadLogWALSettings

      public WriteAheadLogWALSettings()
  • Method Details

    • maxSlotWalKeepSize

      public WriteAheadLogWALSettings maxSlotWalKeepSize(Integer maxSlotWalKeepSize)
    • getMaxSlotWalKeepSize

      @Nullable public Integer getMaxSlotWalKeepSize()
      PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this. minimum: -1 maximum: 2147483647
      Returns:
      maxSlotWalKeepSize
    • setMaxSlotWalKeepSize

      public void setMaxSlotWalKeepSize(Integer maxSlotWalKeepSize)
    • maxWalSenders

      public WriteAheadLogWALSettings maxWalSenders(Integer maxWalSenders)
    • getMaxWalSenders

      @Nullable public Integer getMaxWalSenders()
      PostgreSQL maximum WAL senders minimum: 20 maximum: 64
      Returns:
      maxWalSenders
    • setMaxWalSenders

      public void setMaxWalSenders(Integer maxWalSenders)
    • walSenderTimeout

      public WriteAheadLogWALSettings walSenderTimeout(Integer walSenderTimeout)
    • getWalSenderTimeout

      @Nullable public Integer getWalSenderTimeout()
      Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. minimum: 0 maximum: 10800000
      Returns:
      walSenderTimeout
    • setWalSenderTimeout

      public void setWalSenderTimeout(Integer walSenderTimeout)
    • walWriterDelay

      public WriteAheadLogWALSettings walWriterDelay(Integer walWriterDelay)
    • getWalWriterDelay

      @Nullable public Integer getWalWriterDelay()
      WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance minimum: 10 maximum: 200
      Returns:
      walWriterDelay
    • setWalWriterDelay

      public void setWalWriterDelay(Integer walWriterDelay)
    • equals

      public boolean equals(Object o)
      Return true if this Write_ahead_log__WAL__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