public interface Worker extends Runnable
Modifier and Type | Method and Description |
---|---|
StackTraceElement[] |
getStackTrace()
Returns the stack trace of the thread in which this
Worker is
running. |
Thread.State |
getState()
Returns the
Thread.State of the thread in which this Worker is
running. |
Task |
getTask()
|
void |
interrupt() |
Thread.State getState()
Thread.State
of the thread in which this Worker
is
running. Returns Thread.State
.NEW if this worker hasn't been started
until now.Thread.State
of the thread in which this Worker
is
running.StackTraceElement[] getStackTrace()
Worker
is
running.Worker
is
running.void interrupt()
Copyright © 2015. All rights reserved.