Method Work
Work(Double)
Records the fact that roughly units amount of work have been done since this method was last called. When adding time-consuming code into Lucene.Net.Index.SegmentMerger, you should test different values for units to ensure that the time in between calls to merge.CheckAborted is up to ~ 1 second.
Declaration
public virtual void Work(double units)
Parameters
Type | Name | Description |
---|---|---|
System.Double | units |