C# Class 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().
Inheritance: Lucene.Net.Support.ThreadFactory
Afficher le fichier Open project: apache/lucenenet

Méthodes publiques

Méthode Description
NamedThreadFactory ( string threadNamePrefix ) : Lucene.Net.Support

Creates a new NamedThreadFactory instance

NewThread ( IThreadRunnable r ) : Thread

Creates a new Thread

Private Methods

Méthode Description
CheckPrefix ( string prefix ) : string

Method Details

NamedThreadFactory() public méthode

Creates a new NamedThreadFactory instance
public NamedThreadFactory ( string threadNamePrefix ) : Lucene.Net.Support
threadNamePrefix string the name prefix assigned to each thread created.
Résultat Lucene.Net.Support

NewThread() public méthode

Creates a new Thread
public NewThread ( IThreadRunnable r ) : Thread
r IThreadRunnable
Résultat System.Threading.Thread