The ConcurrentMergeScheduler type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ConcurrentMergeScheduler | Initializes a new instance of the ConcurrentMergeScheduler class |
Methods
Name | Description | |
---|---|---|
AnyUnhandledExceptions | Used for testing | |
ClearSuppressExceptions | Used for testing | |
ClearUnhandledExceptions | ||
Close | (Overrides MergeScheduler..::..Close()()()().) | |
DoMerge | Does the actual merge, by calling {@link IndexWriter#merge} | |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetMaxThreadCount | Get the max # simultaneous threads that may be | |
GetMergeThread | Create and return a new MergeThread | |
GetMergeThreadPriority | Return 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 | Gets the Type of the current instance. (Inherited from Object.) | |
HandleMergeException | Called when an exception is hit in a background merge
thread
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Merge | (Overrides MergeScheduler..::..Merge(IndexWriter).) | |
SetMaxThreadCount | Sets 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.
| |
SetMergeThreadPriority | Return the priority that merge threads run at. | |
SetSuppressExceptions | Used for testing | |
SetTestMode | ||
Sync | ||
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
dir | ||
mergeThreadCount | ||
mergeThreads | ||
writer |