public abstract class AbstractTaskWorker1
extends java.lang.Object
implements java.lang.Runnable
Modifier | Constructor and Description |
---|---|
protected |
AbstractTaskWorker1(java.lang.ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
protected long |
getCurrentTimeActual() |
protected java.lang.String |
getThreadName() |
boolean |
isClosed() |
protected boolean |
isPermanent() |
boolean |
isTaskActive() |
protected void |
onThreadComplete() |
protected void |
onThreadStart() |
void |
run() |
abstract long |
runTask() |
protected void |
setLoopCount(int count) |
protected void |
setWorkerIdleTimeout(long timeout) |
protected abstract void |
startWorkerThread() |
java.lang.String |
toString() |
void |
wake() |
protected AbstractTaskWorker1(java.lang.ClassLoader classLoader)
protected boolean isPermanent()
protected void setWorkerIdleTimeout(long timeout)
protected void setLoopCount(int count)
public boolean isTaskActive()
public boolean isClosed()
public abstract long runTask()
public void destroy()
public final void wake()
protected abstract void startWorkerThread()
protected java.lang.String getThreadName()
protected void onThreadStart()
protected void onThreadComplete()
public final void run()
run
in interface java.lang.Runnable
protected long getCurrentTimeActual()
public java.lang.String toString()
toString
in class java.lang.Object