Class SourceCoordinatorProvider.CoordinatorExecutorThreadFactory
- java.lang.Object
-
- org.apache.flink.runtime.source.coordinator.SourceCoordinatorProvider.CoordinatorExecutorThreadFactory
-
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler,ThreadFactory
- Enclosing class:
- SourceCoordinatorProvider<SplitT extends org.apache.flink.api.connector.source.SourceSplit>
public static class SourceCoordinatorProvider.CoordinatorExecutorThreadFactory extends Object implements ThreadFactory, Thread.UncaughtExceptionHandler
A thread factory class that provides some helper methods. Because it is used to check the current thread, it is a one-off, do not use this ThreadFactory to create multiple threads.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreadnewThread(Runnable r)voiduncaughtException(Thread t, Throwable e)
-
-
-
Method Detail
-
newThread
public Thread newThread(Runnable r)
- Specified by:
newThreadin interfaceThreadFactory
-
uncaughtException
public void uncaughtException(Thread t, Throwable e)
- Specified by:
uncaughtExceptionin interfaceThread.UncaughtExceptionHandler
-
-