public static enum RuntimeMXBean.VMIdleStates extends Enum<RuntimeMXBean.VMIdleStates>
RuntimeMXBean.getVMIdleState()
.Enum Constant and Description |
---|
ACTIVE
VM idle state is active.
|
IDLE
VM idle state is idle.
|
INVALID
VM idle state could not be determined.
|
Modifier and Type | Method and Description |
---|---|
String |
idleStateName() |
int |
idleStateValue() |
static RuntimeMXBean.VMIdleStates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeMXBean.VMIdleStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuntimeMXBean.VMIdleStates INVALID
public static final RuntimeMXBean.VMIdleStates ACTIVE
public static final RuntimeMXBean.VMIdleStates IDLE
public static RuntimeMXBean.VMIdleStates[] values()
for (RuntimeMXBean.VMIdleStates c : RuntimeMXBean.VMIdleStates.values()) System.out.println(c);
public static RuntimeMXBean.VMIdleStates valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int idleStateValue()
public String idleStateName()
Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 2001, 2024 IBM Corp. and others.