Class RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.Memory
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.runc.RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.Memory
public static class RuncContainerExecutorConfig.OCIRuntimeConfig.OCILinuxConfig.Resources.Memory
extends Object
This class is a Java representation of the memory section
of the OCI Runtime Specification.
-
Constructor Details
-
Memory
public Memory(long limit, long reservation, long swap, long kernel, long kernelTCP, long swappiness, boolean disableOOMKiller) -
Memory
public Memory()
-
-
Method Details
-
getLimit
public long getLimit() -
getReservation
public long getReservation() -
getSwap
public long getSwap() -
getKernel
public long getKernel() -
getKernelTCP
public long getKernelTCP() -
getSwappiness
public long getSwappiness() -
isDisableOOMKiller
public boolean isDisableOOMKiller()
-