public abstract class SingleThread extends Object implements Runnable, Serializable
限定符和类型 | 字段和说明 |
---|---|
protected String |
clazzName
类名称 和 ID
|
protected boolean |
isExit
是否退出线程
|
protected Thread |
thread
线程
|
构造器和说明 |
---|
SingleThread() |
protected String clazzName
protected boolean isExit
protected Thread thread
public long getStamp()
public String getThreadID()
protected void release()
protected abstract void init()
public abstract String getDescription()
protected abstract void doService() throws InterruptedException
Copyright © 2016–2018. All rights reserved.