|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.loadbalancer.admin.cli.reader.impl.LoadbalancerReaderImpl
public class LoadbalancerReaderImpl
Reader class to get information about load balancer configuration.
| Field Summary |
|---|
| Fields inherited from interface org.glassfish.loadbalancer.admin.cli.reader.api.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 Summary | |
|---|---|
LoadbalancerReaderImpl(Domain domain,
ApplicationRegistry appRegistry,
LbConfig lbConfig)
|
|
LoadbalancerReaderImpl(Domain domain,
ApplicationRegistry appRegistry,
java.util.Set<java.lang.String> clusters,
java.util.Properties properties)
|
|
| Method Summary | |
|---|---|
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 |
java.lang.String |
getName()
Returns the name of the load balancer |
PropertyReader[] |
getProperties()
Returns properties of the load balancer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoadbalancerReaderImpl(Domain domain,
ApplicationRegistry appRegistry,
java.util.Set<java.lang.String> clusters,
java.util.Properties properties)
public LoadbalancerReaderImpl(Domain domain,
ApplicationRegistry appRegistry,
LbConfig lbConfig)
| Method Detail |
|---|
public PropertyReader[] getProperties()
throws LbReaderException
getProperties in interface LoadbalancerReaderLbReaderException
public ClusterReader[] getClusters()
throws LbReaderException
getClusters in interface LoadbalancerReaderLbReaderException
public ClusterReader[] getClustersData()
throws LbReaderException
LbReaderException
public ClusterReader[] getClustersDataFromLBConfig()
throws LbReaderException
LbReaderException
public java.lang.String getName()
throws LbReaderException
getName in interface LoadbalancerReaderLbReaderException
public void accept(Visitor v)
throws java.lang.Exception
BaseReader
accept in interface BaseReaderjava.lang.Exceptionpublic LbConfig getLbConfig()
LoadbalancerReader
getLbConfig in interface LoadbalancerReader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||