Class ConcurrentMergeScheduler.MergeThread
Runs a merge thread, which may run one or more merges in sequence.
Inheritance
System.Object
J2N.Threading.ThreadJob
ConcurrentMergeScheduler.MergeThread
Implements
System.IEquatable<J2N.Threading.ThreadJob>
System.IEquatable<System.Threading.Thread>
Inherited Members
J2N.Threading.ThreadJob.SafeRun(System.Threading.ThreadStart)
J2N.Threading.ThreadJob.Start()
J2N.Threading.ThreadJob.Interrupt()
J2N.Threading.ThreadJob.Join()
J2N.Threading.ThreadJob.Join(System.Int64)
J2N.Threading.ThreadJob.Join(System.Int64, System.Int32)
J2N.Threading.ThreadJob.Resume()
J2N.Threading.ThreadJob.Abort()
J2N.Threading.ThreadJob.Abort(System.Object)
J2N.Threading.ThreadJob.Yield()
J2N.Threading.ThreadJob.Suspend()
J2N.Threading.ThreadJob.Sleep(System.Int64)
J2N.Threading.ThreadJob.Sleep(System.Int64, System.Int32)
J2N.Threading.ThreadJob.Sleep(System.TimeSpan)
J2N.Threading.ThreadJob.Interrupted()
J2N.Threading.ThreadJob.Equals(System.Threading.Thread)
J2N.Threading.ThreadJob.Equals(J2N.Threading.ThreadJob)
J2N.Threading.ThreadJob.Equals(System.Object)
J2N.Threading.ThreadJob.GetHashCode()
J2N.Threading.ThreadJob.ToString()
J2N.Threading.ThreadJob.SyncRoot
J2N.Threading.ThreadJob.Instance
J2N.Threading.ThreadJob.CurrentThread
J2N.Threading.ThreadJob.Name
J2N.Threading.ThreadJob.State
J2N.Threading.ThreadJob.Priority
J2N.Threading.ThreadJob.IsAlive
J2N.Threading.ThreadJob.IsBackground
J2N.Threading.ThreadJob.IsDebug
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
protected class MergeThread : ThreadJob, IEquatable<ThreadJob>, IEquatable<Thread>
Constructors
| Improve this Doc View SourceMergeThread(ConcurrentMergeScheduler, IndexWriter, MergePolicy.OneMerge)
Sole constructor.
Declaration
public MergeThread(ConcurrentMergeScheduler outerInstance, IndexWriter writer, MergePolicy.OneMerge startMerge)
Parameters
Type | Name | Description |
---|---|---|
ConcurrentMergeScheduler | outerInstance | |
IndexWriter | writer | |
MergePolicy.OneMerge | startMerge |
Properties
| Improve this Doc View SourceCurrentMerge
Return the current merge, or null
if this
ConcurrentMergeScheduler.MergeThread is done.
Declaration
public virtual MergePolicy.OneMerge CurrentMerge { get; }
Property Value
Type | Description |
---|---|
MergePolicy.OneMerge |
RunningMerge
Record the currently running merge.
Declaration
public virtual MergePolicy.OneMerge RunningMerge { get; set; }
Property Value
Type | Description |
---|---|
MergePolicy.OneMerge |
Methods
| Improve this Doc View SourceRun()
Declaration
public override void Run()
Overrides
J2N.Threading.ThreadJob.Run()
|
Improve this Doc
View Source
SetThreadPriority(ThreadPriority)
Set the priority of this thread.
Declaration
public virtual void SetThreadPriority(ThreadPriority priority)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.ThreadPriority | priority |
Implements
System.IEquatable<T>
System.IEquatable<T>