Apache Lucene.Net 2.4.0 Class Library API

ConcurrentMergeScheduler Methods

The methods of the ConcurrentMergeScheduler class are listed below. For a complete list of ConcurrentMergeScheduler class members, see the ConcurrentMergeScheduler Members topic.

Public Static Methods

AnyUnhandledExceptionsUsed for testing
ClearUnhandledExceptions 
SetTestMode 

Public Instance Methods

ClearSuppressExceptions_ForNUnitTest 
Close 
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetMaxThreadCountGet the max # simultaneous threads that may be
GetMergeThreadPriorityReturn the priority that merge threads run at. By default the priority is 1 plus the priority of (ie, slightly higher priority than) the first thread that calls merge.
GetType (inherited from Object)Gets the Type of the current instance.
Merge 
SetMaxThreadCountSets the max # simultaneous threads that may be running. If a merge is necessary yet we already have this many threads running, the incoming thread (that is calling add/updateDocument) will block until a merge thread has completed.
SetMergeThreadPriorityReturn the priority that merge threads run at.
SetSuppressExceptions_ForNUnitTest 
Sync 
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

DoMerge Does the acural merge, by calling IndexWriter.Merge().
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetMergeThread Create and return a new MergeThread.
HandleMergeException 
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ConcurrentMergeScheduler Class | Lucene.Net.Index Namespace