org.norther.tammi.core.thread
Class DefaultPooledExecutor.CallerRunsPolicy

java.lang.Object
  extended by java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy
      extended by 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.


Constructor Summary
DefaultPooledExecutor.CallerRunsPolicy()
          Constructs a new policy.
 
Method Summary
 
Methods inherited from class java.util.concurrent.ThreadPoolExecutor.CallerRunsPolicy
rejectedExecution
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPooledExecutor.CallerRunsPolicy

public DefaultPooledExecutor.CallerRunsPolicy()
Constructs a new policy.



Copyright © 2004 The Norther Organization. All rights reserved.