C# Класс Lucene.Net.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 Executors#defaultThreadFactory().
Наследование: Lucene.Net.Support.ThreadFactory
Показать файл Открыть проект

Открытые методы

Метод Описание
NamedThreadFactory ( string threadNamePrefix ) : Lucene.Net.Support

Creates a new NamedThreadFactory instance

NewThread ( IThreadRunnable r ) : Thread

Creates a new Thread

Приватные методы

Метод Описание
CheckPrefix ( string prefix ) : string

Описание методов

NamedThreadFactory() публичный Метод

Creates a new NamedThreadFactory instance
public NamedThreadFactory ( string threadNamePrefix ) : Lucene.Net.Support
threadNamePrefix string the name prefix assigned to each thread created.
Результат Lucene.Net.Support

NewThread() публичный Метод

Creates a new Thread
public NewThread ( IThreadRunnable r ) : Thread
r IThreadRunnable
Результат System.Threading.Thread