Class LinuxBlockIO
java.lang.Object
io.github.alersrt.pod4j.openapi.model.LinuxBlockIO
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-19T11:19:05.435500352+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 onlyIO read rate limit per cgroup per device, bytes per secondIO read rate limit per cgroup per device, IO per secondIO write rate limit per cgroup per device, bytes per secondIO write rate limit per cgroup per device, IO per secondSpecifies per cgroup weightWeight per cgroup per device, can override BlkioWeightinthashCode()leafWeight(Integer leafWeight) voidsetLeafWeight(Integer leafWeight) voidsetThrottleReadBpsDevice(List<LinuxThrottleDevice> throttleReadBpsDevice) voidsetThrottleReadIOPSDevice(List<LinuxThrottleDevice> throttleReadIOPSDevice) voidsetThrottleWriteBpsDevice(List<LinuxThrottleDevice> throttleWriteBpsDevice) voidsetThrottleWriteIOPSDevice(List<LinuxThrottleDevice> throttleWriteIOPSDevice) voidvoidsetWeightDevice(List<LinuxWeightDevice> weightDevice) throttleReadBpsDevice(List<LinuxThrottleDevice> throttleReadBpsDevice) throttleReadIOPSDevice(List<LinuxThrottleDevice> throttleReadIOPSDevice) throttleWriteBpsDevice(List<LinuxThrottleDevice> throttleWriteBpsDevice) throttleWriteIOPSDevice(List<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<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
-
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
-
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
-
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
-
toJson
Convert an instance of LinuxBlockIO to an JSON string- Returns:
- JSON string
-