Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.common.util
Class NamedThreadFactory

    java.lang.Object
      org.modeshape.common.util.NamedThreadFactory

All Implemented Interfaces:
  ThreadFactory

    public class NamedThreadFactory

extends Object
implements ThreadFactory

The thread factory that lets us adjust the names of the threads.

See Also:
  `Executors.defaultThreadFactory()`

Constructor Summary
`NamedThreadFactory(String poolName)`

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 poolName)

Method Detail

### newThread

    public Thread newThread(Runnable r)

  Specified by:
    `newThread` in interface `ThreadFactory`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.