public abstract class AbstractDaemonThread
extends java.lang.Object
implements java.lang.Runnable
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
hasNotified |
protected boolean |
stoped |
protected java.lang.Thread |
thread |
构造器和说明 |
---|
AbstractDaemonThread() |
限定符和类型 | 方法和说明 |
---|---|
abstract java.lang.String |
getDeamonThreadName() |
long |
getJoinTime() |
boolean |
isStoped() |
void |
makeStop() |
protected void |
onWaitEnd() |
void |
shutdown() |
void |
shutdown(boolean interrupt) |
void |
start() |
void |
stop() |
void |
stop(boolean interrupt) |
protected void |
waitForRunning(long interval) |
void |
wakeup() |
protected final java.lang.Thread thread
protected volatile boolean hasNotified
protected volatile boolean stoped
public abstract java.lang.String getDeamonThreadName()
public void start()
public void shutdown()
public void stop()
public void makeStop()
public void stop(boolean interrupt)
public void shutdown(boolean interrupt)
public void wakeup()
protected void waitForRunning(long interval)
protected void onWaitEnd()
public boolean isStoped()
public long getJoinTime()