Constructor TimeLimitingCollector
TimeLimitingCollector(ICollector, Counter, Int64)
Create a TimeLimitingCollector wrapper over another ICollector with a specified timeout.
Declaration
public TimeLimitingCollector(ICollector collector, Counter clock, long ticksAllowed)
Parameters
Type | Name | Description |
---|---|---|
ICollector | collector | The wrapped ICollector |
Counter | clock | The timer clock |
System.Int64 | ticksAllowed | Max time allowed for collecting hits after which TimeLimitingCollector.TimeExceededException is thrown |