com.atlassian.tunnel.concurrent
Class NamedThreadFactory.ThreadNameProvider

java.lang.Object
  extended by com.atlassian.tunnel.concurrent.NamedThreadFactory.ThreadNameProvider
Enclosing class:
NamedThreadFactory

public abstract static class NamedThreadFactory.ThreadNameProvider
extends Object


Constructor Summary
NamedThreadFactory.ThreadNameProvider()
           
 
Method Summary
static NamedThreadFactory.ThreadNameProvider fixedNamePrefixProvider(String threadNamePrefix)
           
 String getName(int threadNo)
           
protected abstract  String getNamePrefix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedThreadFactory.ThreadNameProvider

public NamedThreadFactory.ThreadNameProvider()
Method Detail

getName

public String getName(int threadNo)

getNamePrefix

protected abstract String getNamePrefix()

fixedNamePrefixProvider

public static NamedThreadFactory.ThreadNameProvider fixedNamePrefixProvider(String threadNamePrefix)


Copyright © 2015 Atlassian. All rights reserved.