public class AsyncQueueTask extends AbstractAsyncTask implements java.lang.Runnable
| 限定符和类型 | 字段和说明 |
|---|---|
protected TaskQueue |
taskQueue |
createTime, logger, startExecTime| 构造器和说明 |
|---|
AsyncQueueTask(TaskQueue taskQueue,
TaskCommand command) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
doSomethingAfter()
执行之后做一个逻辑.
|
protected void |
doSomethingBefore()
执行业务逻辑之前的扩展接口.
|
void |
logExecTimeoutInfo(boolean outputStack)
记录执行超时信息.
|
doSomething, doSomethingException, isPrintLog, logCode, runprotected final TaskQueue taskQueue
public AsyncQueueTask(TaskQueue taskQueue, TaskCommand command)
protected void doSomethingBefore()
AbstractAsyncTaskdoSomethingBefore 在类中 AbstractAsyncTaskprotected void doSomethingAfter()
AbstractAsyncTaskdoSomethingAfter 在类中 AbstractAsyncTaskpublic void logExecTimeoutInfo(boolean outputStack)
outputStack - 是否输出执行线程当前执行堆栈信息