Package org.elasticsearch.monitor.jvm
Class GcNames
- java.lang.Object
-
- org.elasticsearch.monitor.jvm.GcNames
-
public class GcNames extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GcNames()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getByGcName(java.lang.String gcName, java.lang.String defaultName)
static java.lang.String
getByMemoryPoolName(java.lang.String poolName, java.lang.String defaultName)
Resolves the GC type by its memory pool name (MemoryPoolMXBean.getName()
.
-
-
-
Field Detail
-
YOUNG
public static final java.lang.String YOUNG
- See Also:
- Constant Field Values
-
OLD
public static final java.lang.String OLD
- See Also:
- Constant Field Values
-
SURVIVOR
public static final java.lang.String SURVIVOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getByMemoryPoolName
public static java.lang.String getByMemoryPoolName(java.lang.String poolName, java.lang.String defaultName)
Resolves the GC type by its memory pool name (MemoryPoolMXBean.getName()
.
-
getByGcName
public static java.lang.String getByGcName(java.lang.String gcName, java.lang.String defaultName)
-
-