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