private static class AbstractKuduProcessor.ClientThreadFactory extends Object implements ThreadFactory
| Modifier and Type | Field and Description |
|---|---|
private ThreadFactory |
defaultThreadFactory |
private String |
identifier |
private AtomicInteger |
threadCount |
| Modifier | Constructor and Description |
|---|---|
private |
ClientThreadFactory(String identifier) |
| Modifier and Type | Method and Description |
|---|---|
private String |
getName() |
Thread |
newThread(Runnable runnable)
Create new daemon Thread with custom name
|
private final ThreadFactory defaultThreadFactory
private final AtomicInteger threadCount
private final String identifier
private ClientThreadFactory(String identifier)
public Thread newThread(Runnable runnable)
newThread in interface ThreadFactoryrunnable - Runnableprivate String getName()
Copyright © 2024 Apache NiFi Project. All rights reserved.