public class LoadbalancerReaderImpl extends Object implements LoadbalancerReader
ACTIVE_HEALTH_CHECK, ACTIVE_HEALTH_CHECK_VALUE, DISABLE_TIMEOUT_IN_MINUTES_VALUE, HTTPS_ROUTING, HTTPS_ROUTING_VALUE, LAST_EXPORTED, LBENABLED_VALUE, NUM_HEALTH_CHECK, NUM_HEALTH_CHECK_VALUE, PREFERRED_FAILOVER_INSTANCE, PREFERRED_FAILOVER_INSTANCE_VALUE, RELOAD_INTERVAL, RELOAD_INTERVAL_VALUE, REQ_MONITOR_DATA, REQ_MONITOR_DATA_VALUE, RESP_TIMEOUT, RESP_TIMEOUT_VALUE, REWRITE_COOKIES, REWRITE_COOKIES_VALUE, REWRITE_LOCATION, REWRITE_LOCATION_VALUE, ROUTE_COOKIE| Constructor and Description |
|---|
LoadbalancerReaderImpl(Domain domain,
ApplicationRegistry appRegistry,
LbConfig lbConfig) |
LoadbalancerReaderImpl(Domain domain,
ApplicationRegistry appRegistry,
Set<String> clusters,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Accepts a visitor and calls its visit
method
|
ClusterReader[] |
getClusters()
Returns the cluster info that are load balanced by this LB.
|
ClusterReader[] |
getClustersData() |
ClusterReader[] |
getClustersDataFromLBConfig() |
LbConfig |
getLbConfig()
Returns the lbconfig associated with the load balancer
|
String |
getName()
Returns the name of the load balancer
|
PropertyReader[] |
getProperties()
Returns properties of the load balancer.
|
public LoadbalancerReaderImpl(Domain domain, ApplicationRegistry appRegistry, Set<String> clusters, Properties properties)
public LoadbalancerReaderImpl(Domain domain, ApplicationRegistry appRegistry, LbConfig lbConfig)
public PropertyReader[] getProperties() throws LbReaderException
getProperties in interface LoadbalancerReaderLbReaderExceptionpublic ClusterReader[] getClusters() throws LbReaderException
getClusters in interface LoadbalancerReaderLbReaderExceptionpublic ClusterReader[] getClustersData() throws LbReaderException
LbReaderExceptionpublic ClusterReader[] getClustersDataFromLBConfig() throws LbReaderException
LbReaderExceptionpublic String getName() throws LbReaderException
getName in interface LoadbalancerReaderLbReaderExceptionpublic void accept(Visitor v) throws Exception
BaseReaderaccept in interface BaseReaderExceptionpublic LbConfig getLbConfig()
LoadbalancerReadergetLbConfig in interface LoadbalancerReaderCopyright © 2019. All rights reserved.