|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LoadBalancerConfigurationService
This service provides a way to consume details in loadbalancer.conf file. Also to update the runtime object model of loadbalancer conf.
| Method Summary | |
|---|---|
Object |
getHostContexts(String config)
Return a Map of HostContext objects, built using the given configuration. |
Object |
getLoadBalancerConfig()
Provides a reference to the runtime object model of loadbalancer.conf |
| Method Detail |
|---|
Object getLoadBalancerConfig()
Object which is an instance of LoadBalancerConfigurationObject getHostContexts(String config)
Map of HostContext objects, built using the given configuration.
config - service configuration diff. This can be in following format.
appserver {
hosts appserver.cloud-test.wso2.com;
domains {
wso2.as1.domain {
tenant_range 1-100;
}
wso2.as2.domain {
tenant_range 101-200;
}
wso2.as3.domain {
tenant_range *;
}
}
}
esb {
hosts esb.cloud-test.wso2.com;
domains {
wso2.esb.domain {
tenant_range *;
}
}
}
Map of HostContext objects.
key - host name
Value - HostContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||