ec_throttle_create_named
Name
ec_throttle_create_named — create a named throttle
Synopsis
#include "throttle.h"
| int **ec_throttle_create_named** (
| name, | |
| | maximum, | |
| | time_period)
; | |
const char * <var class="pdparam">name</var>
;
uint64_t <var class="pdparam">maximum</var>
;
unsigned int <var class="pdparam">time_period</var>
;
Description
Note
This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.
create a named throttle
Creates a throttle that can be referenced by name.
- name
-
the name of the throttle
- maximum
-
the upper bound of increments/events
- time_period
-
number of seconds over which to enforce throttle
**Configuration Change. ** This feature is available starting from Momentum 3.0.6.