ec_fc_set_capacity — Sets a new capacity for a given cache
int **ec_fc_set_capacity** ( | cache, | |
| | expire
); | |
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.
Sets a new capacity for a given cache.
Capacity is rounded up to a power of two.
cache to update
Returns 0 on success, non-zero on failure.