-
public interface ThreadProperties
Expose details for aThread
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
id()
boolean
isAlive()
boolean
isDaemon()
boolean
isInterrupted()
String
name()
int
priority()
StackTraceElement[]
stackTrace()
Thread.State
state()
-
-
-
Method Detail
-
state
Thread.State state()
- See Also:
Thread.getState()
-
priority
int priority()
- See Also:
Thread.getPriority()
-
isInterrupted
boolean isInterrupted()
- See Also:
Thread.isInterrupted()
-
isDaemon
boolean isDaemon()
- See Also:
Thread.isDaemon()
-
name
String name()
- See Also:
Thread.getName()
-
id
long id()
- See Also:
Thread.getId()
-
stackTrace
StackTraceElement[] stackTrace()
- See Also:
Thread.getStackTrace()
-
isAlive
boolean isAlive()
- See Also:
Thread.isAlive()
-
-