Class RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.CPU
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.runc.RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.CPU
public static class RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.CPU
extends Object
This class is a Java representation of the cpu section
of the OCI Runtime Specification.
-
Constructor Details
-
CPU
-
CPU
public CPU()
-
-
Method Details
-
getQuota
public long getQuota() -
getPeriod
public long getPeriod() -
getRealtimeRuntime
public long getRealtimeRuntime() -
getRealtimePeriod
public long getRealtimePeriod() -
getCpus
-
getMems