Class ProcSelfCgroupDiscoverer
- java.lang.Object
-
- org.apache.druid.java.util.metrics.cgroups.ProcSelfCgroupDiscoverer
-
- All Implemented Interfaces:
CgroupDiscoverer
public class ProcSelfCgroupDiscoverer extends Object implements CgroupDiscoverer
-
-
Constructor Summary
Constructors Constructor Description ProcSelfCgroupDiscoverer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Path
discover(String cgroup)
Returns a path for a specific cgroup.
-
-
-
Method Detail
-
discover
public Path discover(String cgroup)
Description copied from interface:CgroupDiscoverer
Returns a path for a specific cgroup. This path should contain the interesting cgroup files without further traversing needed.- Specified by:
discover
in interfaceCgroupDiscoverer
- Parameters:
cgroup
- The cgroup- Returns:
- The path that contains that cgroup's interesting bits.
-
-