65#if APR_HAS_THREADS || defined(DOXYGEN)
89typedef apr_uint32_t (*apr_memcache_hash_func)(
void *baton,
91 const apr_size_t data_len);
102 const apr_uint32_t hash);
113 apr_memcache_hash_func hash_func;
115 apr_memcache_server_func server_func;
140 const apr_size_t data_len);
147 const apr_size_t data_len);
154 const apr_size_t data_len);
164 const apr_uint32_t hash);
172 const apr_uint32_t hash);
263 apr_uint16_t max_servers,
282 apr_uint16_t *flags);
324 const apr_size_t data_size,
325 apr_uint32_t timeout,
342 const apr_size_t data_size,
343 apr_uint32_t timeout,
360 const apr_size_t data_size,
361 apr_uint32_t timeout,
371 apr_uint32_t timeout);
395 apr_uint32_t *new_value);
APR Platform Definitions.
APR-UTIL Buckets/Bucket Brigades.
APR-UTIL Resource List Routines.
apr_status_t apr_memcache_replace(apr_memcache_t *mc, const char *key, char *baton, const apr_size_t data_size, apr_uint32_t timeout, apr_uint16_t flags)
apr_uint32_t apr_memcache_hash_crc32(void *baton, const char *data, const apr_size_t data_len)
apr_status_t apr_memcache_version(apr_memcache_server_t *ms, apr_pool_t *p, char **baton)
void apr_memcache_set_retry_period(apr_memcache_t *mc, apr_time_t retry_period)
apr_status_t apr_memcache_incr(apr_memcache_t *mc, const char *key, apr_int32_t n, apr_uint32_t *nv)
apr_memcache_server_status_t
Definition apr_memcache.h:50
apr_status_t apr_memcache_add(apr_memcache_t *mc, const char *key, char *baton, const apr_size_t data_size, apr_uint32_t timeout, apr_uint16_t flags)
apr_status_t apr_memcache_multgetp(apr_memcache_t *mc, apr_pool_t *temp_pool, apr_pool_t *data_pool, apr_hash_t *values)
apr_status_t apr_memcache_server_create(apr_pool_t *p, const char *host, apr_port_t port, int min, int smax, int max, apr_interval_time_t ttl, apr_memcache_server_t **ns)
apr_memcache_server_t * apr_memcache_find_server(apr_memcache_t *mc, const char *host, apr_port_t port)
apr_status_t apr_memcache_create(apr_pool_t *p, apr_uint16_t max_servers, apr_uint32_t flags, apr_memcache_t **mc)
apr_memcache_server_t * apr_memcache_find_server_hash(apr_memcache_t *mc, const apr_uint32_t hash)
apr_uint32_t apr_memcache_hash_default(void *baton, const char *data, const apr_size_t data_len)
apr_time_t apr_memcache_get_retry_period(apr_memcache_t *mc)
apr_uint32_t apr_memcache_hash(apr_memcache_t *mc, const char *data, const apr_size_t data_len)
apr_status_t apr_memcache_delete(apr_memcache_t *mc, const char *key, apr_uint32_t timeout)
apr_status_t apr_memcache_add_server(apr_memcache_t *mc, apr_memcache_server_t *server)
apr_status_t apr_memcache_set(apr_memcache_t *mc, const char *key, char *baton, const apr_size_t data_size, apr_uint32_t timeout, apr_uint16_t flags)
apr_status_t apr_memcache_getp(apr_memcache_t *mc, apr_pool_t *p, const char *key, char **baton, apr_size_t *len, apr_uint16_t *flags)
struct apr_memcache_conn_t apr_memcache_conn_t
Definition apr_memcache.h:56
void apr_memcache_add_multget_key(apr_pool_t *data_pool, const char *key, apr_hash_t **values)
apr_status_t apr_memcache_decr(apr_memcache_t *mc, const char *key, apr_int32_t n, apr_uint32_t *new_value)
apr_status_t apr_memcache_stats(apr_memcache_server_t *ms, apr_pool_t *p, apr_memcache_stats_t **stats)
apr_status_t apr_memcache_disable_server(apr_memcache_t *mc, apr_memcache_server_t *ms)
apr_status_t apr_memcache_enable_server(apr_memcache_t *mc, apr_memcache_server_t *ms)
apr_memcache_server_t * apr_memcache_find_server_hash_default(void *baton, apr_memcache_t *mc, const apr_uint32_t hash)
@ APR_MC_SERVER_LIVE
Definition apr_memcache.h:51
@ APR_MC_SERVER_DEAD
Definition apr_memcache.h:52
struct apr_reslist_t apr_reslist_t
Definition apr_reslist.h:42
int apr_status_t
Definition apr_errno.h:44
struct apr_hash_t apr_hash_t
Definition apr_hash.h:52
apr_uint16_t apr_port_t
Definition apr_network_io.h:230
struct apr_pool_t apr_pool_t
Definition apr_pools.h:60
struct apr_thread_mutex_t apr_thread_mutex_t
Definition apr_thread_mutex.h:41
apr_int64_t apr_interval_time_t
Definition apr_time.h:55
apr_int64_t apr_time_t
Definition apr_time.h:45
Definition apr_memcache.h:61
const char * host
Definition apr_memcache.h:62
apr_reslist_t * conns
Definition apr_memcache.h:66
apr_memcache_server_status_t status
Definition apr_memcache.h:64
int min
Definition apr_memcache.h:77
apr_thread_mutex_t * lock
Definition apr_memcache.h:72
apr_port_t port
Definition apr_memcache.h:63
Definition apr_memcache.h:408
apr_uint32_t pointer_size
Definition apr_memcache.h:418
apr_uint64_t bytes_written
Definition apr_memcache.h:449
apr_uint32_t curr_connections
Definition apr_memcache.h:430
apr_uint32_t total_items
Definition apr_memcache.h:426
apr_time_t rusage_system
Definition apr_memcache.h:422
apr_uint64_t bytes
Definition apr_memcache.h:428
apr_uint32_t total_connections
Definition apr_memcache.h:432
apr_uint32_t cmd_set
Definition apr_memcache.h:438
apr_uint32_t threads
Definition apr_memcache.h:453
apr_time_t rusage_user
Definition apr_memcache.h:420
const char * version
Definition apr_memcache.h:410
apr_uint32_t get_hits
Definition apr_memcache.h:440
apr_uint32_t pid
Definition apr_memcache.h:412
apr_uint32_t cmd_get
Definition apr_memcache.h:436
apr_uint32_t curr_items
Definition apr_memcache.h:424
apr_uint32_t connection_structures
Definition apr_memcache.h:434
apr_uint64_t bytes_read
Definition apr_memcache.h:447
apr_uint64_t evictions
Definition apr_memcache.h:445
apr_time_t time
Definition apr_memcache.h:416
apr_uint32_t uptime
Definition apr_memcache.h:414
apr_uint32_t limit_maxbytes
Definition apr_memcache.h:451
apr_uint32_t get_misses
Definition apr_memcache.h:442
Definition apr_memcache.h:106
void * hash_baton
Definition apr_memcache.h:112
apr_time_t retry_period
Definition apr_memcache.h:117
apr_memcache_server_t ** live_servers
Definition apr_memcache.h:110
apr_uint16_t ntotal
Definition apr_memcache.h:109
apr_uint16_t nalloc
Definition apr_memcache.h:108
apr_uint32_t flags
Definition apr_memcache.h:107
Definition apr_memcache.h:122