ec_cache_head

March 26, 2020 Contributors

This struct is defined as follows:

struct ec_cache_head {
  unsigned int max_size;
  unsigned int max_life;
  ec_cache_stats2 stats;
  ec_cache_elt_dtor_func dtor;
  pthread_rwlock_t lock;
  Skiplist cache;
  ec_hash_table pending;
  char *name;
  Event *e;
  ec_fc_t *fc;  
};

To use this struct, include the file ec_cache_int.h. Also, the following typedef applies to this data type: typedef struct ec_cache_head ec_cache_t;.

See Also

ec_cache_create, ec_cache_create2, ec_cache_delref, ec_cache_destroy, ec_cache_find, and ec_cache_insert.