Class LoadBalancerStats
- java.lang.Object
-
- com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats
-
- All Implemented Interfaces:
CommonBean,LoadBalancerStatsInterface
public class LoadBalancerStats extends Object implements LoadBalancerStatsInterface, CommonBean
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLoadBalancerStats.ValidateException
-
Constructor Summary
Constructors Constructor Description LoadBalancerStats()LoadBalancerStats(LoadBalancerStats source)
-
Method Summary
-
-
-
Constructor Detail
-
LoadBalancerStats
public LoadBalancerStats()
-
LoadBalancerStats
public LoadBalancerStats(LoadBalancerStats source)
-
-
Method Detail
-
setClusterStats
public void setClusterStats(ClusterStats[] value)
- Specified by:
setClusterStatsin interfaceLoadBalancerStatsInterface
-
setClusterStats
public void setClusterStats(int index, ClusterStats value)- Specified by:
setClusterStatsin interfaceLoadBalancerStatsInterface
-
getClusterStats
public ClusterStats[] getClusterStats()
- Specified by:
getClusterStatsin interfaceLoadBalancerStatsInterface
-
fetchClusterStatsList
public List fetchClusterStatsList()
- Specified by:
fetchClusterStatsListin interfaceLoadBalancerStatsInterface
-
getClusterStats
public ClusterStats getClusterStats(int index)
- Specified by:
getClusterStatsin interfaceLoadBalancerStatsInterface
-
sizeClusterStats
public int sizeClusterStats()
- Specified by:
sizeClusterStatsin interfaceLoadBalancerStatsInterface
-
addClusterStats
public int addClusterStats(ClusterStats value)
- Specified by:
addClusterStatsin interfaceLoadBalancerStatsInterface
-
removeClusterStats
public int removeClusterStats(ClusterStats value)
- Specified by:
removeClusterStatsin interfaceLoadBalancerStatsInterface
-
write
public void write(OutputStream out) throws IOException
- Throws:
IOException
-
write
public void write(OutputStream out, String encoding) throws IOException
- Throws:
IOException
-
write
public void write(Writer out, String encoding) throws IOException
- Throws:
IOException
-
writeNode
public void writeNode(Writer out, String nodeName, String indent) throws IOException
- Specified by:
writeNodein interfaceCommonBean- Throws:
IOException
-
read
public static LoadBalancerStats read(InputStream in) throws ParserConfigurationException, SAXException, IOException
-
readNoEntityResolver
public static LoadBalancerStats readNoEntityResolver(InputStream in) throws ParserConfigurationException, SAXException, IOException
-
read
public static LoadBalancerStats read(InputSource in, boolean validate, EntityResolver er, ErrorHandler eh) throws ParserConfigurationException, SAXException, IOException
-
read
public static LoadBalancerStats read(Document document)
-
readNode
public void readNode(Node node)
- Specified by:
readNodein interfaceCommonBean
-
writeXML
public static void writeXML(Writer out, String msg) throws IOException
- Throws:
IOException
-
writeXML
public static void writeXML(Writer out, String msg, boolean attribute) throws IOException
- Throws:
IOException
-
writeXML
public static void writeXML(Writer out, char msg, boolean attribute) throws IOException
- Throws:
IOException
-
validate
public void validate() throws LoadBalancerStats.ValidateException- Specified by:
validatein interfaceCommonBean- Throws:
LoadBalancerStats.ValidateException
-
changePropertyByName
public void changePropertyByName(String name, Object value)
- Specified by:
changePropertyByNamein interfaceCommonBean
-
fetchPropertyByName
public Object fetchPropertyByName(String name)
- Specified by:
fetchPropertyByNamein interfaceCommonBean
-
childBeans
public CommonBean[] childBeans(boolean recursive)
- Specified by:
childBeansin interfaceCommonBean
-
childBeans
public void childBeans(boolean recursive, List beans)- Specified by:
childBeansin interfaceCommonBean
-
equals
public boolean equals(Object o)
- Specified by:
equalsin interfaceCommonBean- Overrides:
equalsin classObject
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceCommonBean- Overrides:
hashCodein classObject
-
toString
public String toString()
- Specified by:
toStringin interfaceCommonBean- Overrides:
toStringin classObject
-
-