/opt/source/Wonder/Utilities/Adaptors/Adaptor/roundrobin.c File Reference

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

Include dependency graph for roundrobin.c:


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 Documentation

#define appRoundRobinInfo ( app   )     ((RoundRobinInfo *)&app->loadBalancingInfo)


Function Documentation

static int rr_initialize ( strtbl options  )  [static]

static WOInstanceHandle rr_selectInstance ( WOAppReq req,
_WOApp app 
) [static]


Variable Documentation

Initial value:

 {
   "roundrobin",
   "cycle new requests through available instances",
   rr_initialize,
   rr_selectInstance,
   lb_appDidNotRespond, 
   lb_beginTransaction, 
   lb_finalizeTransaction,      
   NULL,
}


Generated on Sat May 26 06:42:05 2012 for Project Wonder by  doxygen 1.5.8