The ConcurrentMergeScheduler type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAnyUnhandledExceptions
Used for testing
Public methodClearSuppressExceptions
Used for testing
Public methodStatic memberClearUnhandledExceptions
Public methodClose (Overrides MergeScheduler..::..Close()()()().)
Protected methodDoMerge
Does the actual merge, by calling {@link IndexWriter#merge}
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetMaxThreadCount
Get the max # simultaneous threads that may be
Protected methodGetMergeThread
Create and return a new MergeThread
Public methodGetMergeThreadPriority
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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleMergeException
Called when an exception is hit in a background merge thread
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMerge (Overrides MergeScheduler..::..Merge(IndexWriter).)
Public methodSetMaxThreadCount
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.
Public methodSetMergeThreadPriority
Return the priority that merge threads run at.
Public methodSetSuppressExceptions
Used for testing
Public methodStatic memberSetTestMode
Public methodSync
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also