SlidingWindowThrottle Constructor (String, Int32, Int32, Int32, String)NFX Class Library

[This is preliminary documentation and is subject to change.]

Constructor

Namespace: NFX.Throttling
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public SlidingWindowThrottle(
	string name,
	int throttleLimit,
	int throttleInterval,
	int bucketsPerSecond = 5,
	string unit = null
)

Parameters

name
Type: OnlineSystem String
Name of this instance
throttleLimit
Type: OnlineSystem Int32
Throttling limit per throttleInterval
throttleInterval
Type: OnlineSystem Int32
Throttling interval in number of seconds
bucketsPerSecond (Optional)
Type: OnlineSystem Int32
Number of buckets per second to calculate internal running sum. The greater the value the more precise the avg calculation is and the longer it takes to calculate
unit (Optional)
Type: OnlineSystem String
Unit of measurement
See Also