public abstract class AbstractQueueRunnable<T> extends AbstractSynRunnable
executed, executor, runningLock
Constructor and Description |
---|
AbstractQueueRunnable(Executor executor) |
Modifier and Type | Method and Description |
---|---|
boolean |
addMsg(T t) |
void |
clearMsgQueue()
清空处理的队列消息
|
abstract FullWaitQueue<T> |
getMsgQueue()
获取消息队列
|
boolean |
isNeededExecute() |
execute, isCanceled, logstr, run, runTask, setCanceled
public AbstractQueueRunnable(Executor executor)
public boolean addMsg(T t)
public void clearMsgQueue()
public boolean isNeededExecute()
isNeededExecute
in class AbstractSynRunnable
public abstract FullWaitQueue<T> getMsgQueue()
Copyright © 2021. All rights reserved.