Package com.exoscale.sdk.model
Class SegmentReplicationBackpressureSettings
java.lang.Object
com.exoscale.sdk.model.SegmentReplicationBackpressureSettings
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class SegmentReplicationBackpressureSettings
extends Object
SegmentReplicationBackpressureSettings
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this Segment_Replication_Backpressure_Settings object is equal to o.The maximum number of indexing checkpoints that a replica shard can fall behind when copying from primary.Enables the segment replication backpressure mechanism.The maximum number of stale replica shards that can exist in a replication group.The maximum amount of time that a replica shard can take to copy from the primary shard.inthashCode()pressureCheckpointLimit(Integer pressureCheckpointLimit) pressureEnabled(Boolean pressureEnabled) pressureReplicaStaleLimit(BigDecimal pressureReplicaStaleLimit) pressureTimeLimit(String pressureTimeLimit) voidsetPressureCheckpointLimit(Integer pressureCheckpointLimit) voidsetPressureEnabled(Boolean pressureEnabled) voidsetPressureReplicaStaleLimit(BigDecimal pressureReplicaStaleLimit) voidsetPressureTimeLimit(String pressureTimeLimit) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_PRESSURE_CHECKPOINT_LIMIT
- See Also:
-
JSON_PROPERTY_PRESSURE_ENABLED
- See Also:
-
JSON_PROPERTY_PRESSURE_REPLICA_STALE_LIMIT
- See Also:
-
JSON_PROPERTY_PRESSURE_TIME_LIMIT
- See Also:
-
-
Constructor Details
-
SegmentReplicationBackpressureSettings
public SegmentReplicationBackpressureSettings()
-
-
Method Details
-
pressureCheckpointLimit
public SegmentReplicationBackpressureSettings pressureCheckpointLimit(Integer pressureCheckpointLimit) -
getPressureCheckpointLimit
The maximum number of indexing checkpoints that a replica shard can fall behind when copying from primary. Once `segrep.pressure.checkpoint.limit` is breached along with `segrep.pressure.time.limit`, the segment replication backpressure mechanism is initiated. Default is 4 checkpoints. minimum: 0- Returns:
- pressureCheckpointLimit
-
setPressureCheckpointLimit
-
pressureEnabled
-
getPressureEnabled
Enables the segment replication backpressure mechanism. Default is false.- Returns:
- pressureEnabled
-
setPressureEnabled
-
pressureReplicaStaleLimit
public SegmentReplicationBackpressureSettings pressureReplicaStaleLimit(BigDecimal pressureReplicaStaleLimit) -
getPressureReplicaStaleLimit
The maximum number of stale replica shards that can exist in a replication group. Once `segrep.pressure.replica.stale.limit` is breached, the segment replication backpressure mechanism is initiated. Default is .5, which is 50% of a replication group. minimum: 0 maximum: 1- Returns:
- pressureReplicaStaleLimit
-
setPressureReplicaStaleLimit
-
pressureTimeLimit
-
getPressureTimeLimit
The maximum amount of time that a replica shard can take to copy from the primary shard. Once segrep.pressure.time.limit is breached along with segrep.pressure.checkpoint.limit, the segment replication backpressure mechanism is initiated. Default is 5 minutes.- Returns:
- pressureTimeLimit
-
setPressureTimeLimit
-
equals
Return true if this Segment_Replication_Backpressure_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
-