Constructor
new AjaxMonitor(options)
Constructor
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
Properties
|
- Source:
Methods
checkLimit() → {AjaxMonitor}
Check if enough failures have occurred
in the given time frame
- Source:
Returns:
- Type
- AjaxMonitor
reset() → {AjaxMonitor}
Reset the recorded failure count
- Source:
Returns:
- Type
- AjaxMonitor
start() → {AjaxMonitor}
Start the monitor
- Source:
Returns:
- Type
- AjaxMonitor
stop() → {AjaxMonitor}
Stop the monitor
- Source:
Returns:
- Type
- AjaxMonitor