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. |
timeAllowed | max time allowed for collecting hits after which Time |