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 Pathdiscover(String cgroup)Returns a path for a specific cgroup.
-
-
-
Method Detail
-
discover
public Path discover(String cgroup)
Description copied from interface:CgroupDiscovererReturns a path for a specific cgroup. This path should contain the interesting cgroup files without further traversing needed.- Specified by:
discoverin interfaceCgroupDiscoverer- Parameters:
cgroup- The cgroup- Returns:
- The path that contains that cgroup's interesting bits.
-
-