org.apache.openejb.util.executor
Class OfferRejectedExecutionHandler

java.lang.Object
  extended by org.apache.openejb.util.executor.OfferRejectedExecutionHandler
All Implemented Interfaces:
RejectedExecutionHandler

public class OfferRejectedExecutionHandler
extends Object
implements RejectedExecutionHandler

Version:
$Rev$ $Date$

Constructor Summary
OfferRejectedExecutionHandler(Duration duration)
           
OfferRejectedExecutionHandler(long timeout, TimeUnit timeUnit)
           
 
Method Summary
 void rejectedExecution(Runnable r, ThreadPoolExecutor tpe)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OfferRejectedExecutionHandler

public OfferRejectedExecutionHandler(Duration duration)

OfferRejectedExecutionHandler

public OfferRejectedExecutionHandler(long timeout,
                                     TimeUnit timeUnit)
Method Detail

rejectedExecution

public void rejectedExecution(Runnable r,
                              ThreadPoolExecutor tpe)
Specified by:
rejectedExecution in interface RejectedExecutionHandler


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.