Package org.apache.flink.util.concurrent
Class IgnoreShutdownRejectedExecutionHandler
- java.lang.Object
-
- org.apache.flink.util.concurrent.IgnoreShutdownRejectedExecutionHandler
-
- All Implemented Interfaces:
RejectedExecutionHandler
public class IgnoreShutdownRejectedExecutionHandler extends Object implements RejectedExecutionHandler
Rejected executions are ignored or logged in debug if the executor isshutdown. Otherwise,RejectedExecutionExceptionis thrown.
-
-
Constructor Summary
Constructors Constructor Description IgnoreShutdownRejectedExecutionHandler()IgnoreShutdownRejectedExecutionHandler(org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrejectedExecution(Runnable r, ThreadPoolExecutor executor)
-
-
-
Constructor Detail
-
IgnoreShutdownRejectedExecutionHandler
public IgnoreShutdownRejectedExecutionHandler()
-
IgnoreShutdownRejectedExecutionHandler
public IgnoreShutdownRejectedExecutionHandler(@Nullable org.slf4j.Logger logger)
-
-
Method Detail
-
rejectedExecution
public void rejectedExecution(Runnable r, ThreadPoolExecutor executor)
- Specified by:
rejectedExecutionin interfaceRejectedExecutionHandler
-
-