java.lang.Object | |
↳ | org.apache.lucene.util.NamedThreadFactory |
A default ThreadFactory implementation that accepts the name prefix
of the created threads as a constructor argument. Otherwise, this factory
yields the same semantics as the thread factory returned by
defaultThreadFactory()
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
NamedThreadFactory instance |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
Thread |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.util.concurrent.ThreadFactory
|
Creates a new NamedThreadFactory
instance
threadNamePrefix | the name prefix assigned to each thread created. |
---|