Enum ProcfsSmaps.KEY
- java.lang.Object
-
- java.lang.Enum<ProcfsSmaps.KEY>
-
- io.github.mweirauch.micrometer.jvm.extras.procfs.ProcfsSmaps.KEY
-
- All Implemented Interfaces:
io.github.mweirauch.micrometer.jvm.extras.procfs.ProcfsEntry.ValueKey,Serializable,Comparable<ProcfsSmaps.KEY>
- Enclosing class:
- ProcfsSmaps
public static enum ProcfsSmaps.KEY extends Enum<ProcfsSmaps.KEY> implements io.github.mweirauch.micrometer.jvm.extras.procfs.ProcfsEntry.ValueKey
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProcfsSmaps.KEYvalueOf(String name)Returns the enum constant of this type with the specified name.static ProcfsSmaps.KEY[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VSS
public static final ProcfsSmaps.KEY VSS
Virtual set size
-
RSS
public static final ProcfsSmaps.KEY RSS
Resident set size
-
PSS
public static final ProcfsSmaps.KEY PSS
Proportional set size
-
SWAP
public static final ProcfsSmaps.KEY SWAP
Paged out memory
-
SWAPPSS
public static final ProcfsSmaps.KEY SWAPPSS
Paged out memory accounting shared pages. Since Linux 4.3.
-
-
Method Detail
-
values
public static ProcfsSmaps.KEY[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ProcfsSmaps.KEY c : ProcfsSmaps.KEY.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcfsSmaps.KEY valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-