com.liferay.portal.kernel.concurrent
Class DiscardPolicy
java.lang.Object
com.liferay.portal.kernel.concurrent.DiscardPolicy
- All Implemented Interfaces:
- RejectedExecutionHandler
public class DiscardPolicy
- extends Object
- implements RejectedExecutionHandler
Implements the same behavior as ThreadPoolExecutor.DiscardPolicy
.
- See Also:
ThreadPoolExecutor.DiscardPolicy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiscardPolicy
public DiscardPolicy()
rejectedExecution
public void rejectedExecution(Runnable runnable,
ThreadPoolExecutor threadPoolExecutor)
- Specified by:
rejectedExecution
in interface RejectedExecutionHandler
- See Also:
ThreadPoolExecutor.DiscardPolicy.rejectedExecution(
Runnable, java.util.concurrent.ThreadPoolExecutor)