public interface ThreadProperties
Thread
.限定符和类型 | 方法和说明 |
---|---|
long |
id() |
boolean |
isAlive() |
boolean |
isDaemon() |
boolean |
isInterrupted() |
java.lang.String |
name() |
int |
priority() |
java.lang.StackTraceElement[] |
stackTrace() |
java.lang.Thread.State |
state() |
java.lang.Thread.State state()
Thread.getState()
int priority()
Thread.getPriority()
boolean isInterrupted()
Thread.isInterrupted()
boolean isDaemon()
Thread.isDaemon()
java.lang.String name()
Thread.getName()
long id()
Thread.getId()
java.lang.StackTraceElement[] stackTrace()
Thread.getStackTrace()
boolean isAlive()
Thread.isAlive()