private static final class SingleThreadEventExecutor.DefaultThreadProperties extends java.lang.Object implements ThreadProperties
Modifier and Type | Field and Description |
---|---|
private java.lang.Thread |
t |
Constructor and Description |
---|
DefaultThreadProperties(java.lang.Thread t) |
Modifier and Type | Method and Description |
---|---|
long |
id() |
boolean |
isAlive() |
boolean |
isDaemon() |
boolean |
isInterrupted() |
java.lang.String |
name() |
int |
priority() |
java.lang.StackTraceElement[] |
stackTrace() |
java.lang.Thread.State |
state() |
public java.lang.Thread.State state()
state
in interface ThreadProperties
Thread.getState()
public int priority()
priority
in interface ThreadProperties
Thread.getPriority()
public boolean isInterrupted()
isInterrupted
in interface ThreadProperties
Thread.isInterrupted()
public boolean isDaemon()
isDaemon
in interface ThreadProperties
Thread.isDaemon()
public java.lang.String name()
name
in interface ThreadProperties
Thread.getName()
public long id()
id
in interface ThreadProperties
Thread.getId()
public java.lang.StackTraceElement[] stackTrace()
stackTrace
in interface ThreadProperties
Thread.getStackTrace()
public boolean isAlive()
isAlive
in interface ThreadProperties
Thread.isAlive()