#include "config.h"#include "loadbalancing.h"#include "appcfg.h"#include "list.h"#include "strtbl.h"#include "log.h"#include "shmem.h"#include <stdlib.h>

Classes | |
| struct | RoundRobinInfo |
Defines | |
| #define | appRoundRobinInfo(app) ((RoundRobinInfo *)&app->loadBalancingInfo) |
Functions | |
| static int | rr_initialize (strtbl *options) |
| static WOInstanceHandle | rr_selectInstance (WOAppReq *req, _WOApp *app) |
Variables | |
| const scheduler | lb_roundrobin |
| #define appRoundRobinInfo | ( | app | ) | ((RoundRobinInfo *)&app->loadBalancingInfo) |
| static int rr_initialize | ( | strtbl * | options | ) | [static] |
| static WOInstanceHandle rr_selectInstance | ( | WOAppReq * | req, | |
| _WOApp * | app | |||
| ) | [static] |
| const scheduler lb_roundrobin |
Initial value:
{
"roundrobin",
"cycle new requests through available instances",
rr_initialize,
rr_selectInstance,
lb_appDidNotRespond,
lb_beginTransaction,
lb_finalizeTransaction,
NULL,
}
1.5.8