Class LinuxBlockIO
java.lang.Object
io.github.alersrt.pod4j.openapi.model.LinuxBlockIO
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LinuxBlockIO
extends Object
implements Serializable
LinuxBlockIO for Linux cgroup 'blkio' resource management
- See Also:
-
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<LinuxThrottleDevice>IO read rate limit per cgroup per device, bytes per second@Valid List<LinuxThrottleDevice>IO read rate limit per cgroup per device, IO per second@Valid List<LinuxThrottleDevice>IO write rate limit per cgroup per device, bytes per second@Valid List<LinuxThrottleDevice>IO write rate limit per cgroup per device, IO per secondSpecifies per cgroup weight@Valid List<LinuxWeightDevice>Weight 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 voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object 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
-