Class ExemptPriorityLevelConfigurationV1Beta2.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus28.k8s.ExemptPriorityLevelConfigurationV1Beta2.Jsii$Proxy
-
- All Implemented Interfaces:
ExemptPriorityLevelConfigurationV1Beta2,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ExemptPriorityLevelConfigurationV1Beta2
@Stability(Stable) @Internal public static final class ExemptPriorityLevelConfigurationV1Beta2.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ExemptPriorityLevelConfigurationV1Beta2
An implementation forExemptPriorityLevelConfigurationV1Beta2
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus28.k8s.ExemptPriorityLevelConfigurationV1Beta2
ExemptPriorityLevelConfigurationV1Beta2.Builder, ExemptPriorityLevelConfigurationV1Beta2.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ExemptPriorityLevelConfigurationV1Beta2.Builder builder)Constructor that initializes the object based on literal property values passed by theExemptPriorityLevelConfigurationV1Beta2.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)NumbergetLendablePercent()lendablePercentprescribes the fraction of the level's NominalCL that can be borrowed by other priority levels.NumbergetNominalConcurrencyShares()nominalConcurrencyShares(NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ExemptPriorityLevelConfigurationV1Beta2.Builder builder)
Constructor that initializes the object based on literal property values passed by theExemptPriorityLevelConfigurationV1Beta2.Builder.
-
-
Method Detail
-
getLendablePercent
public final Number getLendablePercent()
Description copied from interface:ExemptPriorityLevelConfigurationV1Beta2lendablePercentprescribes 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 )
- Specified by:
getLendablePercentin interfaceExemptPriorityLevelConfigurationV1Beta2
-
getNominalConcurrencyShares
public final Number getNominalConcurrencyShares()
Description copied from interface:ExemptPriorityLevelConfigurationV1Beta2nominalConcurrencyShares(NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level.This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:
NominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)
Bigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero.
- Specified by:
getNominalConcurrencySharesin interfaceExemptPriorityLevelConfigurationV1Beta2
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-