public class ClusterReaderImpl extends Object implements ClusterReader
| Constructor and Description |
|---|
ClusterReaderImpl(Domain domain,
ApplicationRegistry appRegistry,
Cluster cluster) |
ClusterReaderImpl(Domain domain,
ApplicationRegistry appRegistry,
ClusterRef clusterRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Accepts a visitor and calls its visit
method
|
HealthCheckerReader |
getHealthChecker()
Returns the health checker for the cluster
|
InstanceReader[] |
getInstances()
Get the instance readers in the cluster
|
String |
getLbPolicy()
Returns the lb policy
|
String |
getLbPolicyModule()
Returns the lb policy module
|
String |
getName()
Get the name of the cluster
|
WebModuleReader[] |
getWebModules()
Returns all the web modules in the cluster
|
public ClusterReaderImpl(Domain domain, ApplicationRegistry appRegistry, Cluster cluster)
public ClusterReaderImpl(Domain domain, ApplicationRegistry appRegistry, ClusterRef clusterRef)
public String getName()
ClusterReadergetName in interface ClusterReaderpublic InstanceReader[] getInstances() throws LbReaderException
ClusterReadergetInstances in interface ClusterReaderLbReaderExceptionpublic HealthCheckerReader getHealthChecker() throws LbReaderException
ClusterReadergetHealthChecker in interface ClusterReaderLbReaderExceptionpublic WebModuleReader[] getWebModules() throws LbReaderException
ClusterReadergetWebModules in interface ClusterReaderLbReaderExceptionpublic String getLbPolicy()
ClusterReadergetLbPolicy in interface ClusterReaderpublic String getLbPolicyModule()
ClusterReadergetLbPolicyModule in interface ClusterReaderpublic void accept(Visitor v) throws Exception
BaseReaderaccept in interface BaseReaderExceptionCopyright © 2019. All rights reserved.