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

java.lang.Object
  extended by java.util.concurrent.ThreadPoolExecutor.DiscardOldestPolicy
      extended by org.norther.tammi.core.thread.DefaultPooledExecutor.DiscardOldestPolicy
All Implemented Interfaces:
RejectedExecutionHandler
Enclosing class:
DefaultPooledExecutor

public static class DefaultPooledExecutor.DiscardOldestPolicy
extends ThreadPoolExecutor.DiscardOldestPolicy

A handler for rejected tasks that discards the oldest unhandled request and then retries execute.


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

Constructor Detail

DefaultPooledExecutor.DiscardOldestPolicy

public DefaultPooledExecutor.DiscardOldestPolicy()
Constructs a new policy.



Copyright © 2004 The Norther Organization. All rights reserved.