public class HAProxy extends Object implements LoadBalancer
| Constructor and Description |
|---|
HAProxy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.apache.stratos.load.balancer.common.domain.Topology topology)
Configure haproxy instance according to topology given
|
void |
reload()
Reload haproxy instance according to the configuration written in configure() method.
|
void |
start()
Start haproxy instance
|
void |
stop()
Stop haproxy instance
|
public boolean configure(org.apache.stratos.load.balancer.common.domain.Topology topology)
throws LoadBalancerExtensionException
configure in interface LoadBalancertopology - LoadBalancerExtensionExceptionpublic void start()
throws LoadBalancerExtensionException
start in interface LoadBalancerLoadBalancerExtensionExceptionpublic void reload()
throws LoadBalancerExtensionException
reload in interface LoadBalancerLoadBalancerExtensionExceptionpublic void stop()
throws LoadBalancerExtensionException
stop in interface LoadBalancerLoadBalancerExtensionExceptionCopyright © 2012-2015 The Apache Software Foundation. All Rights Reserved.