Method Collect
Collect(Int32)
Calls Collect(Int32) on the decorated ICollector unless the allowed time has passed, in which case it throws an exception.
Declaration
public virtual void Collect(int doc)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | doc |
Implements
Exceptions
Type | Condition |
---|---|
TimeLimitingCollector.TimeExceededException | If the time allowed has exceeded. |