Class ProcSelfCgroupDiscoverer
java.lang.Object
org.apache.druid.java.util.metrics.cgroups.ProcSelfCgroupDiscoverer
- All Implemented Interfaces:
CgroupDiscoverer
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ProcSelfCgroupDiscoverer
public ProcSelfCgroupDiscoverer() -
ProcSelfCgroupDiscoverer
-
-
Method Details
-
discover
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.
-