org.norther.tammi.core.thread
Class DefaultPooledExecutor.CallerRunsPolicy
java.lang.Object
java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy
org.norther.tammi.core.thread.DefaultPooledExecutor.CallerRunsPolicy
- All Implemented Interfaces:
- RejectedExecutionHandler
- Direct Known Subclasses:
- DefaultPooledExecutor.QueuePolicy
- Enclosing class:
- DefaultPooledExecutor
public static class DefaultPooledExecutor.CallerRunsPolicy
- extends ThreadPoolExecutor.CallerRunsPolicy
A handler for rejected tasks that runs the rejected task directly in the
calling thread of the execute method.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPooledExecutor.CallerRunsPolicy
public DefaultPooledExecutor.CallerRunsPolicy()
- Constructs a new policy.
Copyright © 2004 The Norther Organization. All rights reserved.