Class V1ExemptPriorityLevelConfiguration
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ExemptPriorityLevelConfiguration
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ExemptPriorityLevelConfiguration
extends Object
ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels.`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level.int
hashCode()
lendablePercent
(Integer lendablePercent) Set lendablePercent in a chainable fashion.nominalConcurrencyShares
(Integer nominalConcurrencyShares) Set nominalConcurrencyShares in a chainable fashion.void
setLendablePercent
(Integer lendablePercent) Set the lendablePercent property valuevoid
setNominalConcurrencyShares
(Integer nominalConcurrencyShares) Set the nominalConcurrencyShares property valuetoString()
-
Field Details
-
JSON_PROPERTY_LENDABLE_PERCENT
- See Also:
-
JSON_PROPERTY_NOMINAL_CONCURRENCY_SHARES
- See Also:
-
-
Constructor Details
-
V1ExemptPriorityLevelConfiguration
public V1ExemptPriorityLevelConfiguration()
-
-
Method Details
-
getLendablePercent
`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows. LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )- Returns:
- the lendablePercent property value
-
setLendablePercent
Set the lendablePercent property value- Parameters:
lendablePercent
- property value to set
-
lendablePercent
Set lendablePercent in a chainable fashion.- Returns:
- The same instance of V1ExemptPriorityLevelConfiguration for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-