Class LinuxIntelRdt

java.lang.Object
io.github.alersrt.pod4j.openapi.model.LinuxIntelRdt

@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 LinuxIntelRdt extends Object
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.
  • Field Details

  • Constructor Details

    • LinuxIntelRdt

      public LinuxIntelRdt()
  • Method Details

    • closID

      public LinuxIntelRdt closID(String closID)
    • getClosID

      @Nullable public String getClosID()
      The identity for RDT Class of Service
      Returns:
      closID
    • setClosID

      public void setClosID(String closID)
    • enableCMT

      public LinuxIntelRdt enableCMT(Boolean enableCMT)
    • getEnableCMT

      @Nullable public Boolean 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

      public void setEnableCMT(Boolean enableCMT)
    • enableMBM

      public LinuxIntelRdt enableMBM(Boolean enableMBM)
    • getEnableMBM

      @Nullable public Boolean 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

      public void setEnableMBM(Boolean enableMBM)
    • l3CacheSchema

      public LinuxIntelRdt l3CacheSchema(String l3CacheSchema)
    • getL3CacheSchema

      @Nullable public String getL3CacheSchema()
      The schema for L3 cache id and capacity bitmask (CBM) Format: \"L3:<cache_id0>=<cbm0>;<cache_id1>=<cbm1>;...\"
      Returns:
      l3CacheSchema
    • setL3CacheSchema

      public void setL3CacheSchema(String l3CacheSchema)
    • memBwSchema

      public LinuxIntelRdt memBwSchema(String memBwSchema)
    • getMemBwSchema

      @Nullable public String 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

      public void setMemBwSchema(String memBwSchema)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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 LinuxIntelRdt
    • fromJson

      public static LinuxIntelRdt fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of LinuxIntelRdt to an JSON string
      Returns:
      JSON string