Class RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.runc.RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO
public static class RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO
extends Object
This class is a Java representation of the blockio section
of the OCI Runtime Specification.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class is a Java representation of the throttle device section of the OCI Runtime Specification.static classThis class is a Java representation of the weight device section of the OCI Runtime Specification. -
Constructor Summary
ConstructorsConstructorDescriptionBlockIO()BlockIO(int weight, int leafWeight, List<RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO.WeightDevice> weightDevices, List<RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO.ThrottleDevice> throttleReadBpsDevice, List<RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO.ThrottleDevice> throttleWriteBpsDevice, List<RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO.ThrottleDevice> throttleReadIOPSDevice, List<RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO.ThrottleDevice> throttleWriteIOPSDevice) -
Method Summary
Modifier and TypeMethodDescriptionintint
-
Constructor Details
-
BlockIO
public BlockIO(int weight, int leafWeight, List<RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO.WeightDevice> weightDevices, List<RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO.ThrottleDevice> throttleReadBpsDevice, List<RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO.ThrottleDevice> throttleWriteBpsDevice, List<RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO.ThrottleDevice> throttleReadIOPSDevice, List<RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO.ThrottleDevice> throttleWriteIOPSDevice) -
BlockIO
public BlockIO()
-
-
Method Details
-
getWeight
public int getWeight() -
getLeafWeight
public int getLeafWeight() -
getWeightDevices
public List<RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO.WeightDevice> getWeightDevices() -
getThrottleReadBpsDevice
public List<RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO.ThrottleDevice> getThrottleReadBpsDevice() -
getThrottleWriteBpsDevice
public List<RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO.ThrottleDevice> getThrottleWriteBpsDevice() -
getThrottleReadIOPSDevice
public List<RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO.ThrottleDevice> getThrottleReadIOPSDevice() -
getThrottleWriteIOPSDevice
public List<RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.BlockIO.ThrottleDevice> getThrottleWriteIOPSDevice()
-