Esempio n. 1
0
        public override object Clone()
        {
            ConcurrentMergeScheduler clone = (ConcurrentMergeScheduler)base.Clone();

            clone.m_writer       = null;
            clone.m_dir          = null;
            clone.m_mergeThreads = new JCG.List <MergeThread>();
            return(clone);
        }
Esempio n. 2
0
 /// <summary>
 /// Sole constructor. </summary>
 public MergeThread(ConcurrentMergeScheduler outerInstance, IndexWriter writer, MergePolicy.OneMerge startMerge)
 {
     this.outerInstance = outerInstance;
     this.tWriter       = writer;
     this.startMerge    = startMerge;
 }