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);
323 const apr_size_t data_size,
324 apr_uint32_t timeout,
341 const apr_size_t data_size,
342 apr_uint32_t timeout,
359 const apr_size_t data_size,
360 apr_uint32_t timeout,
370 apr_uint32_t timeout);
394 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:407
apr_uint32_t pointer_size
Definition apr_memcache.h:417
apr_uint64_t bytes_written
Definition apr_memcache.h:448
apr_uint32_t curr_connections
Definition apr_memcache.h:429
apr_uint32_t total_items
Definition apr_memcache.h:425
apr_time_t rusage_system
Definition apr_memcache.h:421
apr_uint64_t bytes
Definition apr_memcache.h:427
apr_uint32_t total_connections
Definition apr_memcache.h:431
apr_uint32_t cmd_set
Definition apr_memcache.h:437
apr_uint32_t threads
Definition apr_memcache.h:452
apr_time_t rusage_user
Definition apr_memcache.h:419
const char * version
Definition apr_memcache.h:409
apr_uint32_t get_hits
Definition apr_memcache.h:439
apr_uint32_t pid
Definition apr_memcache.h:411
apr_uint32_t cmd_get
Definition apr_memcache.h:435
apr_uint32_t curr_items
Definition apr_memcache.h:423
apr_uint32_t connection_structures
Definition apr_memcache.h:433
apr_uint64_t bytes_read
Definition apr_memcache.h:446
apr_uint64_t evictions
Definition apr_memcache.h:444
apr_time_t time
Definition apr_memcache.h:415
apr_uint32_t uptime
Definition apr_memcache.h:413
apr_uint32_t limit_maxbytes
Definition apr_memcache.h:450
apr_uint32_t get_misses
Definition apr_memcache.h:441
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