APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.internal.platform

public Class CgroupInfo

extends Object
Class Inheritance

Data structure to hold info from /proc/self/cgroup, /proc/cgroups and /proc/self/mountinfo man 7 cgroups
See Also
CgroupSubsystemFactory

Field Summary

Modifier and TypeField and Description
private String
private final boolean
private final int
private String
private String
private final String

Constructor Summary

AccessConstructor and Description
private
CgroupInfo(String name, int hierarchyId, boolean enabled)

Method Summary

Modifier and TypeMethod and Description
pack-priv static CgroupInfo
public String
public int
public String
public String
public String
public boolean
public void
setCgroupPath(String cgroupPath)

public void
setMountPoint(String mountPoint)

public void
setMountRoot(String mountRoot)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cgroupPathback to summary
private String cgroupPath
enabledback to summary
private final boolean enabled
hierarchyIdback to summary
private final int hierarchyId
mountPointback to summary
private String mountPoint
mountRootback to summary
private String mountRoot
nameback to summary
private final String name

Constructor Detail

CgroupInfoback to summary
private CgroupInfo(String name, int hierarchyId, boolean enabled)

Method Detail

fromCgroupsLineback to summary
pack-priv static CgroupInfo fromCgroupsLine(String line)
getCgroupPathback to summary
public String getCgroupPath()
getHierarchyIdback to summary
public int getHierarchyId()
getMountPointback to summary
public String getMountPoint()
getMountRootback to summary
public String getMountRoot()
getNameback to summary
public String getName()
isEnabledback to summary
public boolean isEnabled()
setCgroupPathback to summary
public void setCgroupPath(String cgroupPath)
setMountPointback to summary
public void setMountPoint(String mountPoint)
setMountRootback to summary
public void setMountRoot(String mountRoot)