com.liferay.portal.kernel.concurrent
Interface RejectedExecutionHandler

All Known Implementing Classes:
AbortPolicy, CallerRunsPolicy, DiscardOldestPolicy, DiscardPolicy, DiscardWithCancelPolicy

public interface RejectedExecutionHandler

Provides the same interface as java.util.concurrent.ThreadPoolExecutor.RejectedExecutionHandler.

Author:
Shuyang Zhou
See Also:
java.util.concurrent.ThreadPoolExecutor.RejectedExecutionHandler

Method Summary
 void rejectedExecution(java.lang.Runnable runnable, ThreadPoolExecutor threadPoolExecutor)
           
 

Method Detail

rejectedExecution

void rejectedExecution(java.lang.Runnable runnable,
                       ThreadPoolExecutor threadPoolExecutor)
See Also:
java.util.concurrent.ThreadPoolExecutor.RejectedExecutionHandler#rejectedExecution( Runnable, java.util.concurrent.ThreadPoolExecutor)