Uses of Interface
com.liferay.portal.kernel.concurrent.RejectedExecutionHandler
Packages that use RejectedExecutionHandler
-
Uses of RejectedExecutionHandler in com.liferay.portal.kernel.concurrent
Classes in com.liferay.portal.kernel.concurrent that implement RejectedExecutionHandlerModifier and TypeClassDescriptionclass
Implements the same behavior asThreadPoolExecutor.AbortPolicy
.class
Implements the same behavior asThreadPoolExecutor.CallerRunsPolicy
.class
Implements the same behavior asThreadPoolExecutor.DiscardOldestPolicy
.class
Implements the same behavior asThreadPoolExecutor.DiscardPolicy
.class
Handles rejected tasks by canceling them immediately.Methods in com.liferay.portal.kernel.concurrent that return RejectedExecutionHandlerMethods in com.liferay.portal.kernel.concurrent with parameters of type RejectedExecutionHandlerModifier and TypeMethodDescriptionvoid
ThreadPoolExecutor.setRejectedExecutionHandler
(RejectedExecutionHandler rejectedExecutionHandler) Constructors in com.liferay.portal.kernel.concurrent with parameters of type RejectedExecutionHandlerModifierConstructorDescriptionThreadPoolExecutor
(int corePoolSize, int maxPoolSize, long keepAliveTime, TimeUnit timeUnit, boolean allowCoreThreadTimeout, int maxQueueSize, RejectedExecutionHandler rejectedExecutionHandler, ThreadFactory threadFactory, ThreadPoolHandler threadPoolHandler)