public enum Jvm extends Enum<Jvm>
| Modifier and Type | Method and Description |
|---|---|
static int |
getProcessId() |
static long |
getUniqueTid()
This may or may not be the OS thread id, but should be unique across processes
|
static long |
getUniqueTid(Thread thread) |
static boolean |
is64Bit() |
static Jvm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Jvm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final String TMP
public static Jvm[] values()
for (Jvm c : Jvm.values()) System.out.println(c);
public static Jvm 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 static boolean is64Bit()
public static int getProcessId()
public static long getUniqueTid()
public static long getUniqueTid(Thread thread)
Copyright © 2014. All Rights Reserved.