Package com.exoscale.sdk.model
Class OperatingFactor
java.lang.Object
com.exoscale.sdk.model.OperatingFactor
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class OperatingFactor
extends Object
OperatingFactor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this Operating_factor object is equal to o.getLower()
Specify the lower occupancy limit of the allocated quota of memory for the shard.Specify the optimal occupancy of the allocated quota of memory for the shard.getUpper()
Specify the upper occupancy limit of the allocated quota of memory for the shard.int
hashCode()
lower
(BigDecimal lower) optimal
(BigDecimal optimal) void
setLower
(BigDecimal lower) void
setOptimal
(BigDecimal optimal) void
setUpper
(BigDecimal upper) toString()
Convert the instance into URL query string.toUrlQueryString
(String prefix) Convert the instance into URL query string.upper
(BigDecimal upper)
-
Field Details
-
JSON_PROPERTY_UPPER
- See Also:
-
JSON_PROPERTY_OPTIMAL
- See Also:
-
JSON_PROPERTY_LOWER
- See Also:
-
-
Constructor Details
-
OperatingFactor
public OperatingFactor()
-
-
Method Details
-
upper
-
getUpper
Specify the upper occupancy limit of the allocated quota of memory for the shard. If the total memory usage of a shard is above this limit, shard indexing backpressure increases the current allocated memory for that shard. Default is 0.95 minimum: 0.0- Returns:
- upper
-
setUpper
-
optimal
-
getOptimal
Specify the optimal occupancy of the allocated quota of memory for the shard. If the total memory usage of a shard is at this level, shard indexing backpressure doesn’t change the current allocated memory for that shard. Default is 0.85 minimum: 0.0- Returns:
- optimal
-
setOptimal
-
lower
-
getLower
Specify the lower occupancy limit of the allocated quota of memory for the shard. If the total memory usage of a shard is below this limit, shard indexing backpressure decreases the current allocated memory for that shard. Default is 0.75 minimum: 0.0- Returns:
- lower
-
setLower
-
equals
Return true if this Operating_factor 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
-