public abstract class RunnableQueueExecutorEventWrapper extends RunnableQueueEventWrapper implements QueueExecutor
| 构造器和说明 |
|---|
RunnableQueueExecutorEventWrapper(Queue<Runnable> queue) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addTag(String tag) |
void |
clearAttributes() |
void |
execute(List<Runnable> tasks)
批量执行任务
|
void |
execute(Runnable task)
执行任务
|
String |
getAlias() |
Object |
getAttribute(String key) |
Set<String> |
getTags() |
boolean |
hasAttribute(String key) |
boolean |
hasTag(String tag) |
Object |
removeAttribute(String key) |
void |
removeTag(String tag) |
void |
setAlias(String alias) |
void |
setAttribute(String key,
Object value) |
add, addAll, offer, onAddAfter, onAddBeforeclear, contains, containsAll, element, forEach, isEmpty, iterator, parallelStream, peek, poll, remove, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsizeequals, hashCodepublic final void execute(Runnable task)
QueueExecutorexecute 在接口中 Executorexecute 在接口中 QueueExecutorpublic final void execute(List<Runnable> tasks)
QueueExecutorexecute 在接口中 QueueExecutorpublic String getAlias()
getAlias 在接口中 QueueExecutorpublic void setAlias(String alias)
setAlias 在接口中 QueueExecutorpublic void addTag(String tag)
addTag 在接口中 QueueExecutorpublic void removeTag(String tag)
removeTag 在接口中 QueueExecutorpublic boolean hasTag(String tag)
hasTag 在接口中 QueueExecutorpublic Set<String> getTags()
getTags 在接口中 QueueExecutorpublic boolean hasAttribute(String key)
hasAttribute 在接口中 QueueExecutorpublic void setAttribute(String key, Object value)
setAttribute 在接口中 QueueExecutorpublic Object getAttribute(String key)
getAttribute 在接口中 QueueExecutorpublic Object removeAttribute(String key)
removeAttribute 在接口中 QueueExecutorpublic void clearAttributes()
clearAttributes 在接口中 QueueExecutorCopyright © 2020. All rights reserved.