Package io.openlineage.client
Class OpenLineageClientUtils.ExecutorThreadFactory
java.lang.Object
io.openlineage.client.OpenLineageClientUtils.ExecutorThreadFactory
- All Implemented Interfaces:
ThreadFactory
- Enclosing class:
- OpenLineageClientUtils
public static class OpenLineageClientUtils.ExecutorThreadFactory
extends Object
implements ThreadFactory
-
Constructor Summary
ConstructorsConstructorDescriptionExecutorThreadFactory
(String namePrefix) Creates a ThreadFactory with the specified name prefix and daemon flag. -
Method Summary
-
Constructor Details
-
ExecutorThreadFactory
Creates a ThreadFactory with the specified name prefix and daemon flag. Threads will be named as "{namePrefix}-{number}".- Parameters:
namePrefix
- the prefix for thread names
-
-
Method Details
-
newThread
- Specified by:
newThread
in interfaceThreadFactory
-