C# Класс Lucene.Net.Index.SegmentMerger.CheckAbort

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

CheckAbort() публичный Метод

public CheckAbort ( MergePolicy merge, Lucene.Net.Store.Directory dir ) : System
merge MergePolicy
dir Lucene.Net.Store.Directory
Результат System

Work() публичный Метод

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
Результат void