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 Modifier and Type Field Description static String
JSON_PROPERTY_MAX_SLOT_WAL_KEEP_SIZE
static String
JSON_PROPERTY_MAX_WAL_SENDERS
static String
JSON_PROPERTY_WAL_SENDER_TIMEOUT
static String
JSON_PROPERTY_WAL_WRITER_DELAY
-
Constructor Summary
Constructors Constructor Description WriteAheadLogWALSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this Write_ahead_log__WAL__settings object is equal to o.Integer
getMaxSlotWalKeepSize()
PostgreSQL maximum WAL size (MB) reserved for replication slots.Integer
getMaxWalSenders()
PostgreSQL maximum WAL senders minimum: 20 maximum: 64Integer
getWalSenderTimeout()
Terminate replication connections that are inactive for longer than this amount of time, in milliseconds.Integer
getWalWriterDelay()
WAL flush interval in milliseconds.int
hashCode()
WriteAheadLogWALSettings
maxSlotWalKeepSize(Integer maxSlotWalKeepSize)
WriteAheadLogWALSettings
maxWalSenders(Integer maxWalSenders)
void
setMaxSlotWalKeepSize(Integer maxSlotWalKeepSize)
void
setMaxWalSenders(Integer maxWalSenders)
void
setWalSenderTimeout(Integer walSenderTimeout)
void
setWalWriterDelay(Integer walWriterDelay)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.WriteAheadLogWALSettings
walSenderTimeout(Integer walSenderTimeout)
WriteAheadLogWALSettings
walWriterDelay(Integer walWriterDelay)
-
-
-
Field Detail
-
JSON_PROPERTY_MAX_SLOT_WAL_KEEP_SIZE
public static final String JSON_PROPERTY_MAX_SLOT_WAL_KEEP_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_WAL_SENDERS
public static final String JSON_PROPERTY_MAX_WAL_SENDERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WAL_SENDER_TIMEOUT
public static final String JSON_PROPERTY_WAL_SENDER_TIMEOUT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WAL_WRITER_DELAY
public static final String JSON_PROPERTY_WAL_WRITER_DELAY
- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-