com.atlassian.tunnel.concurrent
Class NamedThreadFactory

java.lang.Object
  extended by com.atlassian.tunnel.concurrent.NamedThreadFactory
All Implemented Interfaces:
ThreadFactory

public class NamedThreadFactory
extends Object
implements ThreadFactory


Nested Class Summary
static class NamedThreadFactory.ThreadNameProvider
           
 
Constructor Summary
NamedThreadFactory(NamedThreadFactory.ThreadNameProvider threadNameProvider, boolean daemonMode)
           
NamedThreadFactory(String name, boolean daemonMode)
           
 
Method Summary
 Thread newThread(Runnable r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedThreadFactory

public NamedThreadFactory(String name,
                          boolean daemonMode)

NamedThreadFactory

public NamedThreadFactory(NamedThreadFactory.ThreadNameProvider threadNameProvider,
                          boolean daemonMode)
Method Detail

newThread

public Thread newThread(Runnable r)
Specified by:
newThread in interface ThreadFactory


Copyright © 2015 Atlassian. All rights reserved.