Package com.exoscale.sdk.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this Write_ahead_log__WAL__settings object is equal to o.PostgreSQL maximum WAL size (MB) reserved for replication slots.PostgreSQL maximum WAL senders.Terminate replication connections that are inactive for longer than this amount of time, in milliseconds.WAL flush interval in milliseconds.inthashCode()maxSlotWalKeepSize(Integer maxSlotWalKeepSize) maxWalSenders(Integer maxWalSenders) voidsetMaxSlotWalKeepSize(Integer maxSlotWalKeepSize) voidsetMaxWalSenders(Integer maxWalSenders) voidsetWalSenderTimeout(Integer walSenderTimeout) voidsetWalWriterDelay(Integer walWriterDelay) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.walSenderTimeout(Integer walSenderTimeout) walWriterDelay(Integer walWriterDelay)
-
Field Details
-
JSON_PROPERTY_MAX_SLOT_WAL_KEEP_SIZE
- See Also:
-
JSON_PROPERTY_MAX_WAL_SENDERS
- See Also:
-
JSON_PROPERTY_WAL_SENDER_TIMEOUT
- See Also:
-
JSON_PROPERTY_WAL_WRITER_DELAY
- See Also:
-
-
Constructor Details
-
WriteAheadLogWALSettings
public WriteAheadLogWALSettings()
-
-
Method Details
-
maxSlotWalKeepSize
-
getMaxSlotWalKeepSize
PostgreSQL maximum WAL size (MB) reserved for replication slots. If `-1` is specified, replication slots may retain an unlimited amount of WAL files. The default is `-1` (upstream default). wal_keep_size minimum WAL size setting takes precedence over this. minimum: -1 maximum: 2147483647- Returns:
- maxSlotWalKeepSize
-
setMaxSlotWalKeepSize
-
maxWalSenders
-
getMaxWalSenders
PostgreSQL maximum WAL senders. The default is `20`. Changing this parameter causes a service restart. minimum: 20 maximum: 256- Returns:
- maxWalSenders
-
setMaxWalSenders
-
walSenderTimeout
-
getWalSenderTimeout
Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. minimum: 0 maximum: 10800000- Returns:
- walSenderTimeout
-
setWalSenderTimeout
-
walWriterDelay
-
getWalWriterDelay
WAL flush interval in milliseconds. The default is `200`. Setting this parameter to a lower value may negatively impact performance. minimum: 10 maximum: 200- Returns:
- walWriterDelay
-
setWalWriterDelay
-
equals
Return true if this Write_ahead_log__WAL__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
-