private LoadBalanceBuilder _loadBalanceBuilder;
private LoadBalanceManager _loadBalancer;
public HttpProxyServlet()
{
LoadBalanceService loadBalanceService = LoadBalanceService.getCurrent();
if (loadBalanceService == null) {
throw new IllegalStateException(L.l("'{0}' requires an active {1}",
this,
LoadBalanceService.class.getSimpleName()));
}
_loadBalanceBuilder = loadBalanceService.createBuilder();
}