Method SetCollector
SetCollector(ICollector)
This is so the same timer can be used with a multi-phase search process such as grouping. We don't want to create a new TimeLimitingCollector for each phase because that would reset the timer for each phase. Once time is up subsequent phases need to timeout quickly.
Declaration
public virtual void SetCollector(ICollector collector)
Parameters
Type | Name | Description |
---|---|---|
ICollector | collector | The actual collector performing search functionality. |