org.glassfish.loadbalancer.admin.cli.reader.api
Interface ClusterReader

All Superinterfaces:
BaseReader
All Known Implementing Classes:
ClusterReaderImpl, StandAloneClusterReaderImpl

public interface ClusterReader
extends BaseReader

Provides cluster information relavant to Load balancer tier.

Author:
Satish Viswanatham

Method Summary
 HealthCheckerReader getHealthChecker()
          Returns the health checker for the cluster
 InstanceReader[] getInstances()
          Get the instance readers in the cluster
 java.lang.String getLbPolicy()
          Returns the lb policy
 java.lang.String getLbPolicyModule()
          Returns the lb policy module
 java.lang.String getName()
          Get the name of the cluster
 WebModuleReader[] getWebModules()
          Returns all the web modules in the cluster
 
Methods inherited from interface org.glassfish.loadbalancer.admin.cli.reader.api.BaseReader
accept
 

Method Detail

getName

java.lang.String getName()
                         throws LbReaderException
Get the name of the cluster

Returns:
String name of the cluster
Throws:
LbReaderException

getInstances

InstanceReader[] getInstances()
                              throws LbReaderException
Get the instance readers in the cluster

Returns:
InstanceReader[] array of instance readers in the cluser
Throws:
LbReaderException

getHealthChecker

HealthCheckerReader getHealthChecker()
                                     throws LbReaderException
Returns the health checker for the cluster

Returns:
HealthCheckerReader health checker information for the cluster
Throws:
LbReaderException

getWebModules

WebModuleReader[] getWebModules()
                                throws LbReaderException
Returns all the web modules in the cluster

Returns:
WebModuleReader[] array of web module readers in the cluster
Throws:
LbReaderException

getLbPolicy

java.lang.String getLbPolicy()
                             throws LbReaderException
Returns the lb policy

Returns:
LbPolicy String
Throws:
LbReaderException

getLbPolicyModule

java.lang.String getLbPolicyModule()
                                   throws LbReaderException
Returns the lb policy module

Returns:
LbPolicyModule String
Throws:
LbReaderException


Copyright © 2012 GlassFish Community. All Rights Reserved.