Lines Matching defs:balancer

78 #define BALANCER_PREFIX "balancer://"
115 proxy_balancer *balancer; /* only valid for reverse-proxys */
136 apr_array_header_t *workers; /* non-balancer workers, eg ProxyPass http://example.com */
355 int lbset; /* load balancer cluster set */
412 proxy_balancer *balancer; /* which balancer am I in? */
477 const char *name; /* name of the load balancer method*/
478 proxy_worker *(*finder)(proxy_balancer *balancer,
481 apr_status_t (*reset)(proxy_balancer *balancer, server_rec *s);
482 apr_status_t (*age)(proxy_balancer *balancer, server_rec *s);
483 apr_status_t (*updatelbstatus)(proxy_balancer *balancer, proxy_worker *elected, server_rec *s);
536 * and coresponding balancer.
537 * The url is rewritten from balancer://cluster/uri to scheme://host:port/uri
542 proxy_balancer **balancer,
547 * It is called after request for updating runtime balancer status.
550 proxy_balancer *balancer, request_rec *r,
630 * @param balancer the balancer that the worker belongs to
636 proxy_balancer *balancer,
643 * @param balancer the balancer that the worker belongs to
651 proxy_balancer *balancer,
661 * @param balancer the balancer that the worker belongs to
669 proxy_balancer *balancer,
697 * Verifies valid balancer name (eg: balancer://foo)
706 * Get the balancer from proxy configuration
707 * @param p memory pool used for temporary storage while finding balancer
709 * @param url url to find the worker from; must have balancer:// prefix
710 * @param careactive true if we care if the balancer is active or not
719 * Update the balancer's vhost related fields
720 * @param p memory pool used for temporary storage while finding balancer
721 * @param balancer balancer to be updated
726 proxy_balancer *balancer,
730 * Define and Allocate space for the balancer to proxy configuration
731 * @param p memory pool to allocate balancer from
732 * @param balancer the new balancer
734 * @param url url containing balancer name
735 * @param alias alias/fake-path to this balancer
740 proxy_balancer **balancer,
747 * Share a defined proxy balancer via shm
748 * @param balancer balancer to be shared
753 PROXY_DECLARE(apr_status_t) ap_proxy_share_balancer(proxy_balancer *balancer,
758 * Initialize the balancer as needed
759 * @param balancer balancer to initialize
764 PROXY_DECLARE(apr_status_t) ap_proxy_initialize_balancer(proxy_balancer *balancer,
782 * Find the shm of the balancer as needed
785 * @param balancer balancer of shm to find
786 * @param index pointer to index within slotmem of balancer
787 * @return pointer to shm of balancer, or NULL
791 proxy_balancer *balancer,
795 * Get the most suitable worker and/or balancer for the request
797 * @param balancer balancer used for processing request
800 * @param url request url that balancer can rewrite.
802 * @note It calls balancer pre_request hook if the url starts with balancer://
803 * The balancer then rewrites the url to particular worker, like http://host:port
806 proxy_balancer **balancer,
811 * Post request worker and balancer cleanup
813 * @param balancer balancer used for processing request
821 proxy_balancer *balancer,
982 * Sync balancer and workers based on any updates w/i shm
983 * @param b balancer to check/update member list of