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
파일 보기 프로젝트 열기: apache/lucenenet

공개 메소드들

메소드 설명
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