bbende / nifi

Mirror of Apache NiFi
Apache License 2.0
1 stars 1 forks source link

Create ThreadUtils for getting threads by name #53

Closed ottobackwards closed 6 years ago

ottobackwards commented 6 years ago

@bbende This is another way to get the thread. If you are interested.


This change is Reviewable

bbende commented 6 years ago

@ottobackwards thanks, I considered doing something like this, but I'm not sure we can rely on the name. Every HDFS processor will have a thread with the same name so we won't know which one is for the specific processor being stopped.

ottobackwards commented 6 years ago

No problem, just a side thing to do on a Saturday morning :)