Class V1beta3ExemptPriorityLevelConfiguration
java.lang.Object
io.kubernetes.client.openapi.models.V1beta3ExemptPriorityLevelConfiguration
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T21:37:40.170033Z[Etc/UTC]")
public class V1beta3ExemptPriorityLevelConfiguration
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) nominalConcurrencyShares
(Integer nominalConcurrencyShares) void
setLendablePercent
(Integer lendablePercent) void
setNominalConcurrencyShares
(Integer nominalConcurrencyShares) toString()
-
Field Details
-
SERIALIZED_NAME_LENDABLE_PERCENT
- See Also:
-
SERIALIZED_NAME_NOMINAL_CONCURRENCY_SHARES
- See Also:
-
-
Constructor Details
-
V1beta3ExemptPriorityLevelConfiguration
public V1beta3ExemptPriorityLevelConfiguration()
-
-
Method Details
-
lendablePercent
-
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:
- lendablePercent
-
setLendablePercent
-
equals
-
hashCode
public int hashCode() -
toString
-