/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This source file is part of SableVM classlib-stubs. * * * * See the file "LICENSE" for the copyright information and for * * the terms and conditions for copying, distribution and * * modification of this source file. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ package java.lang.management; import javax.management.openmbean.CompositeData; public class ThreadInfo extends Object { native public long getThreadId(); native public String getThreadName(); native public Thread.State getThreadState(); native public long getBlockedTime(); native public long getBlockedCount(); native public long getWaitedTime(); native public long getWaitedCount(); native public String getLockName(); native public long getLockOwnerId(); native public String getLockOwnerName(); native public StackTraceElement[] getStackTrace(); native public boolean isSuspended(); native public boolean isInNative(); native public String toString(); native public static ThreadInfo from(CompositeData cd); private ThreadInfo() { } }