public class LifecycleRejectedExecutionHandler extends ThreadPoolExecutor.AbortPolicy
IllegalLifecycleStateException
.Modifier and Type | Method and Description |
---|---|
static LifecycleRejectedExecutionHandler |
getInstance() |
void |
rejectedExecution(Runnable r,
ThreadPoolExecutor executor) |
public static LifecycleRejectedExecutionHandler getInstance()
public void rejectedExecution(Runnable r, ThreadPoolExecutor executor)
rejectedExecution
in interface RejectedExecutionHandler
rejectedExecution
in class ThreadPoolExecutor.AbortPolicy
Copyright © 2021 JBoss by Red Hat. All rights reserved.