Fast Cache Functions
Last updated March 2020
Name | Description |
---|---|
ec_fc_caches_find | Find a cache with the provided name |
ec_fc_caches_purge | Purge all caches |
ec_fc_create | Returns a new cache with maximum number of entries and a default expiration time |
ec_fc_delref | Destroy cache if destruction has been deferred |
ec_fc_destroy | Destroys the cache is no references exist to it |
ec_fc_entry_addref | Add a reference to an entry |
ec_fc_entry_delref | Delete a reference from an entry, if no references exist then also call the destructor routine |
ec_fc_entry_reset | Reset an entry to a known state |
ec_fc_init | Initializes the faster-cache subsystem |
ec_fc_invalidate | Remove an entry from the cache and delete the cache reference |
ec_fc_invalidate_key | Remove an entry from the cache with the associated key and key length |
ec_fc_load | Load an entry from the cache with the provided key and key_length |
ec_fc_purge | Quickly purge all items from the cache |
ec_fc_purge2 | Quickly purge all items from the cache |
ec_fc_purge_time | Purge the cache's LRU and expired entries (relative to tv->tv_sec) |
ec_fc_set_capacity | Sets a new capacity for a given cache |
ec_fc_set_expire | Sets a new expiration time for a given cache |
ec_fc_stat | Return statistics for given cache |
ec_fc_store | Store entry in the cache with the provided key and key length |
ec_fc_store_expire | Store entry in the cache with the provided key, key length and expiration time |
Was this page helpful?