C# Class Lucene.Net.Index.SegmentMerger.CheckAbort

Afficher le fichier Open project: synhershko/lucene.net Class Usage Examples

Méthodes publiques

Méthode Description
CheckAbort ( MergePolicy merge, Lucene.Net.Store.Directory dir ) : System
Work ( double units ) : void

Records the fact that roughly units amount of work have been done since this method was last called. When adding time-consuming code into SegmentMerger, you should test different values for units to ensure that the time in between calls to merge.checkAborted is up to ~ 1 second.

Method Details

CheckAbort() public méthode

public CheckAbort ( MergePolicy merge, Lucene.Net.Store.Directory dir ) : System
merge MergePolicy
dir Lucene.Net.Store.Directory
Résultat System

Work() public méthode

Records the fact that roughly units amount of work have been done since this method was last called. When adding time-consuming code into SegmentMerger, you should test different values for units to ensure that the time in between calls to merge.checkAborted is up to ~ 1 second.
public Work ( double units ) : void
units double
Résultat void