ec_fc_set_capacity
Last updated March 2020
Name
ec_fc_set_capacity — Sets a new capacity for a given cache
Synopsis
#include "ec_fc.h"
| int **ec_fc_set_capacity** (
| cache, | |
| | expire)
; | |
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.
Sets a new capacity for a given cache.
Capacity is rounded up to a power of two.
- cache
-
cache to update
- expire
-
new capacity
Returns 0 on success, non-zero on failure.
Was this page helpful?