ec_fc_purge_time

March 26, 2020 Contributors

Name

ec_fc_purge_time — Purge the cache’s LRU and expired entries (relative to tv->tv_sec)

Synopsis

#include "ec_fc.h"

| unsigned int **ec_fc_purge_time** ( | cache, |   |
|   | tv); |   |

ec_fc_t * <var class="pdparam">cache</var>;
struct timeval * <var class="pdparam">tv</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.

Purge the cache’s LRU and expired entries (relative to tv->tv_sec).

Parameters

cache

cache to operate on

tv

time at which point an entry can be considered expired

Return Values

Returns number of purged entries.