public abstract class AbstractByCallerPolicy extends Object
ThreadType of the threads used when dispatching tasks.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractByCallerPolicy(Set<ThreadGroup> waitGroups,
ThreadGroup parentGroup)
Builds a new
ByCallerThreadGroupPolicy with the given waitGroups. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isSchedulerThread(ThreadGroup threadGroup) |
protected boolean |
isWaitGroupThread(ThreadGroup threadGroup) |
protected AbstractByCallerPolicy(Set<ThreadGroup> waitGroups, ThreadGroup parentGroup)
ByCallerThreadGroupPolicy with the given waitGroups.waitGroups - the group of threads for which a WaitPolicy will be applied. For the rest, an ThreadPoolExecutor.AbortPolicy
will be applied.parentGroup - the SchedulerService parent ThreadGroupprotected boolean isWaitGroupThread(ThreadGroup threadGroup)
protected boolean isSchedulerThread(ThreadGroup threadGroup)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.