Class LinuxIntelRdt
java.lang.Object
io.github.alersrt.pod4j.openapi.model.LinuxIntelRdt
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LinuxIntelRdt
extends Object
implements Serializable
LinuxIntelRdt has container runtime resource constraints for Intel RDT CAT and MBA features and flags enabling Intel RDT CMT and MBM features. Intel RDT features are available in Linux 4.14 and newer kernel versions.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LinuxIntelRdtCreate an instance of LinuxIntelRdt given an JSON stringThe identity for RDT Class of ServiceEnableCMT is the flag to indicate if the Intel RDT CMT is enabled.EnableMBM is the flag to indicate if the Intel RDT MBM is enabled.The schema for L3 cache id and capacity bitmask (CBM) Format: \"L3:<cache_id0>=<cbm0>;<cache_id1>=<cbm1>;...\"The schema of memory bandwidth per L3 cache id Format: \"MB:<cache_id0>=bandwidth0;<cache_id1>=bandwidth1;...\" The unit of memory bandwidth is specified in \"percentages\" by default, and in \"MBps\" if MBA Software Controller is enabled.inthashCode()l3CacheSchema(String l3CacheSchema) memBwSchema(String memBwSchema) voidvoidsetEnableCMT(Boolean enableCMT) voidsetEnableMBM(Boolean enableMBM) voidsetL3CacheSchema(String l3CacheSchema) voidsetMemBwSchema(String memBwSchema) toJson()Convert an instance of LinuxIntelRdt to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CLOS_I_D
- See Also:
-
SERIALIZED_NAME_ENABLE_C_M_T
- See Also:
-
SERIALIZED_NAME_ENABLE_M_B_M
- See Also:
-
SERIALIZED_NAME_L3_CACHE_SCHEMA
- See Also:
-
SERIALIZED_NAME_MEM_BW_SCHEMA
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LinuxIntelRdt
public LinuxIntelRdt()
-
-
Method Details
-
closID
-
getClosID
The identity for RDT Class of Service- Returns:
- closID
-
setClosID
-
enableCMT
-
getEnableCMT
EnableCMT is the flag to indicate if the Intel RDT CMT is enabled. CMT (Cache Monitoring Technology) supports monitoring of the last-level cache (LLC) occupancy for the container.- Returns:
- enableCMT
-
setEnableCMT
-
enableMBM
-
getEnableMBM
EnableMBM is the flag to indicate if the Intel RDT MBM is enabled. MBM (Memory Bandwidth Monitoring) supports monitoring of total and local memory bandwidth for the container.- Returns:
- enableMBM
-
setEnableMBM
-
l3CacheSchema
-
getL3CacheSchema
The schema for L3 cache id and capacity bitmask (CBM) Format: \"L3:<cache_id0>=<cbm0>;<cache_id1>=<cbm1>;...\"- Returns:
- l3CacheSchema
-
setL3CacheSchema
-
memBwSchema
-
getMemBwSchema
The schema of memory bandwidth per L3 cache id Format: \"MB:<cache_id0>=bandwidth0;<cache_id1>=bandwidth1;...\" The unit of memory bandwidth is specified in \"percentages\" by default, and in \"MBps\" if MBA Software Controller is enabled.- Returns:
- memBwSchema
-
setMemBwSchema
-
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 LinuxIntelRdt
-
fromJson
Create an instance of LinuxIntelRdt given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LinuxIntelRdt
- Throws:
IOException- if the JSON string is invalid with respect to LinuxIntelRdt
-
toJson
Convert an instance of LinuxIntelRdt to an JSON string- Returns:
- JSON string
-