Constructor TimeLimitingCollector
TimeLimitingCollector(Collector, Int64)
Create a TimeLimitedCollector wrapper over another Collector with a specified timeout.
Declaration
public TimeLimitingCollector(Collector collector, long timeAllowed)
Parameters
Type | Name | Description |
---|---|---|
Collector | collector | the wrapped Collector |
System.Int64 | timeAllowed | max time allowed for collecting hits after which TimeLimitingCollector.TimeExceededException is thrown |