Class Share.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.batch.Share.Jsii$Proxy
- All Implemented Interfaces:
Share
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
Share
@Stability(Stable)
@Internal
public static final class Share.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements Share
An implementation for
Share
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.Share
Share.Builder, Share.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(Share.Builder builder) Constructor that initializes the object based on literal property values passed by theShare.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
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.
-
-
Method Details
-
getWeightFactor
Description copied from interface:Share
The weight factor given to this Share.The Scheduler decides which jobs to put in the Compute Environment such that the following ratio is equal for each job:
sharevCpu / weightFactor
,where
sharevCpu
is the total amount of vCPU given to that particular share; that is, the sum of the vCPU of each job currently in the Compute Environment for that share.See the readme of this module for a detailed example that shows how these are used, how it relates to
computeReservation
, and howshareDecay
affects these calculations.- Specified by:
getWeightFactor
in interfaceShare
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()