Class LinuxBlockIO
java.lang.Object
io.github.alersrt.pod4j.openapi.model.LinuxBlockIO
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class LinuxBlockIO
extends Object
LinuxBlockIO for Linux cgroup 'blkio' resource management
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddThrottleReadBpsDeviceItem(LinuxThrottleDevice throttleReadBpsDeviceItem) addThrottleReadIOPSDeviceItem(LinuxThrottleDevice throttleReadIOPSDeviceItem) addThrottleWriteBpsDeviceItem(LinuxThrottleDevice throttleWriteBpsDeviceItem) addThrottleWriteIOPSDeviceItem(LinuxThrottleDevice throttleWriteIOPSDeviceItem) addWeightDeviceItem(LinuxWeightDevice weightDeviceItem) booleanstatic LinuxBlockIOCreate an instance of LinuxBlockIO given an JSON stringSpecifies tasks' weight in the given cgroup while competing with the cgroup's child cgroups, CFQ scheduler only@Valid List<@Valid LinuxThrottleDevice>IO read rate limit per cgroup per device, bytes per second@Valid List<@Valid LinuxThrottleDevice>IO read rate limit per cgroup per device, IO per second@Valid List<@Valid LinuxThrottleDevice>IO write rate limit per cgroup per device, bytes per second@Valid List<@Valid LinuxThrottleDevice>IO write rate limit per cgroup per device, IO per secondSpecifies per cgroup weight@Valid List<@Valid LinuxWeightDevice>Weight per cgroup per device, can override BlkioWeightinthashCode()leafWeight(Integer leafWeight) voidsetLeafWeight(Integer leafWeight) voidsetThrottleReadBpsDevice(List<@Valid LinuxThrottleDevice> throttleReadBpsDevice) voidsetThrottleReadIOPSDevice(List<@Valid LinuxThrottleDevice> throttleReadIOPSDevice) voidsetThrottleWriteBpsDevice(List<@Valid LinuxThrottleDevice> throttleWriteBpsDevice) voidsetThrottleWriteIOPSDevice(List<@Valid LinuxThrottleDevice> throttleWriteIOPSDevice) voidvoidsetWeightDevice(List<@Valid LinuxWeightDevice> weightDevice) throttleReadBpsDevice(List<@Valid LinuxThrottleDevice> throttleReadBpsDevice) throttleReadIOPSDevice(List<@Valid LinuxThrottleDevice> throttleReadIOPSDevice) throttleWriteBpsDevice(List<@Valid LinuxThrottleDevice> throttleWriteBpsDevice) throttleWriteIOPSDevice(List<@Valid LinuxThrottleDevice> throttleWriteIOPSDevice) toJson()Convert an instance of LinuxBlockIO to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundweightDevice(List<@Valid LinuxWeightDevice> weightDevice)
-
Field Details
-
SERIALIZED_NAME_LEAF_WEIGHT
- See Also:
-
SERIALIZED_NAME_THROTTLE_READ_BPS_DEVICE
- See Also:
-
SERIALIZED_NAME_THROTTLE_READ_I_O_P_S_DEVICE
- See Also:
-
SERIALIZED_NAME_THROTTLE_WRITE_BPS_DEVICE
- See Also:
-
SERIALIZED_NAME_THROTTLE_WRITE_I_O_P_S_DEVICE
- See Also:
-
SERIALIZED_NAME_WEIGHT
- See Also:
-
SERIALIZED_NAME_WEIGHT_DEVICE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LinuxBlockIO
public LinuxBlockIO()
-
-
Method Details
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to LinuxBlockIO
-
fromJson
Create an instance of LinuxBlockIO given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LinuxBlockIO
- Throws:
IOException- if the JSON string is invalid with respect to LinuxBlockIO
-
leafWeight
-
getLeafWeight
Specifies tasks' weight in the given cgroup while competing with the cgroup's child cgroups, CFQ scheduler only- Returns:
- leafWeight
-
setLeafWeight
-
throttleReadBpsDevice
-
addThrottleReadBpsDeviceItem
-
getThrottleReadBpsDevice
IO read rate limit per cgroup per device, bytes per second- Returns:
- throttleReadBpsDevice
-
setThrottleReadBpsDevice
-
throttleReadIOPSDevice
-
addThrottleReadIOPSDeviceItem
-
getThrottleReadIOPSDevice
IO read rate limit per cgroup per device, IO per second- Returns:
- throttleReadIOPSDevice
-
setThrottleReadIOPSDevice
-
throttleWriteBpsDevice
-
addThrottleWriteBpsDeviceItem
-
getThrottleWriteBpsDevice
IO write rate limit per cgroup per device, bytes per second- Returns:
- throttleWriteBpsDevice
-
setThrottleWriteBpsDevice
-
throttleWriteIOPSDevice
public LinuxBlockIO throttleWriteIOPSDevice(List<@Valid LinuxThrottleDevice> throttleWriteIOPSDevice) -
addThrottleWriteIOPSDeviceItem
-
getThrottleWriteIOPSDevice
IO write rate limit per cgroup per device, IO per second- Returns:
- throttleWriteIOPSDevice
-
setThrottleWriteIOPSDevice
-
weight
-
getWeight
Specifies per cgroup weight- Returns:
- weight
-
setWeight
-
weightDevice
-
addWeightDeviceItem
-
getWeightDevice
Weight per cgroup per device, can override BlkioWeight- Returns:
- weightDevice
-
setWeightDevice
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of LinuxBlockIO to an JSON string- Returns:
- JSON string
-