Apache Lucene.Net 2.4.0 Class Library API

ConcurrentMergeScheduler Class

A {@link MergeScheduler} that runs each merge using a separate thread, up until a maximum number of threads ({@link #setMaxThreadCount}) at which when a merge is needed, the thread(s) that are updating the index will pause until one or more merges completes. This is a simple way to use concurrency in the indexing process without having to create and manage application level threads.

For a list of all members of this type, see ConcurrentMergeScheduler Members.

System.Object
   Lucene.Net.Index.MergeScheduler
      Lucene.Net.Index.ConcurrentMergeScheduler

public class ConcurrentMergeScheduler : MergeScheduler

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Lucene.Net.Index

Assembly: Lucene.Net (in Lucene.Net.dll)

See Also

ConcurrentMergeScheduler Members | Lucene.Net.Index Namespace