Re: [lang] Add a DaemonThreadFactory

2017-12-21 Thread Gary Gregory
Thank you Oliver. I replaced my code with: import java.util.concurrent.ThreadFactory; import org.apache.commons.lang3.concurrent.BasicThreadFactory; public final class DaemonThreadFactory { public static ThreadFactory create(String namingPattern) { // @formatter:off return n

Re: [lang] Add a DaemonThreadFactory

2017-12-21 Thread Chas Honton
I also have one of these. +1 Chas > On Dec 21, 2017, at 7:34 AM, Roger Whitcomb wrote: > > I have a class almost identical to this in my project, so +1 to this idea. > > ~Roger Whitcomb > > -Original Message- > From: Gary Gregory [mailto:garydgreg...@gmail.com] > Sent: Tuesday, Dec

RE: [lang] Add a DaemonThreadFactory

2017-12-21 Thread Roger Whitcomb
I have a class almost identical to this in my project, so +1 to this idea. ~Roger Whitcomb -Original Message- From: Gary Gregory [mailto:garydgreg...@gmail.com] Sent: Tuesday, December 19, 2017 8:27 AM To: Commons Developers List Subject: [lang] Add a DaemonThreadFactory I keep on copy

Re: [lang] Add a DaemonThreadFactory

2017-12-19 Thread Oliver Heger
Am 19.12.2017 um 17:27 schrieb Gary Gregory: > I keep on copying this from project to project and it seems fitting for > Commons Lang: In the concurrent package, there is the BasicThreadFactory class. Could this class satisfy your needs or can it be extended? Oliver > > import java.util.concu