Methods Summary |
---|
public int | addApplicationStats(boolean value)
_ApplicationStats.add((value ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE));
return _ApplicationStats.size()-1;
|
public void | changePropertyByName(java.lang.String nameIn, java.lang.Object value)
if (nameIn == null) return;
/** The '==' comparisons below are correct;
see the javadoc for String.intern().
*/
final String name = nameIn.intern();
if (name == "id")
setId((java.lang.String)value);
else if (name == "health")
setHealth((java.lang.String)value);
else if (name == "numTotalRequests")
setNumTotalRequests((java.lang.String)value);
else if (name == "numActiveRequests")
setNumActiveRequests((java.lang.String)value);
else if (name == "applicationStats")
addApplicationStats(((java.lang.Boolean)value).booleanValue());
else if (name == "applicationStats[]")
setApplicationStats((boolean[]) value);
else if (name == "applicationStatsId")
setApplicationStatsId((java.lang.String)value);
else if (name == "applicationStatsAverageResponseTime")
setApplicationStatsAverageResponseTime((java.lang.String)value);
else if (name == "applicationStatsMinResponseTime")
setApplicationStatsMinResponseTime((java.lang.String)value);
else if (name == "applicationStatsMaxResponseTime")
setApplicationStatsMaxResponseTime((java.lang.String)value);
else if (name == "applicationStatsNumFailoverRequests")
setApplicationStatsNumFailoverRequests((java.lang.String)value);
else if (name == "applicationStatsNumErrorRequests")
setApplicationStatsNumErrorRequests((java.lang.String)value);
else if (name == "applicationStatsNumActiveRequests")
setApplicationStatsNumActiveRequests((java.lang.String)value);
else if (name == "applicationStatsNumIdempotentUrlRequests")
setApplicationStatsNumIdempotentUrlRequests((java.lang.String)value);
else if (name == "applicationStatsNumTotalRequests")
setApplicationStatsNumTotalRequests((java.lang.String)value);
else
throw new IllegalArgumentException(name+" is not a valid property name for InstanceStats");
|
public com.sun.enterprise.admin.monitor.stats.lb.CommonBean[] | childBeans(boolean recursive)
java.util.List children = new java.util.LinkedList();
childBeans(recursive, children);
com.sun.enterprise.admin.monitor.stats.lb.CommonBean[] result = new com.sun.enterprise.admin.monitor.stats.lb.CommonBean[children.size()];
return (com.sun.enterprise.admin.monitor.stats.lb.CommonBean[]) children.toArray(result);
|
public void | childBeans(boolean recursive, java.util.List beans)
|
public boolean | equals(java.lang.Object o)
if (o == this)
return true;
if (!(o instanceof com.sun.enterprise.admin.monitor.stats.lb.InstanceStats))
return false;
com.sun.enterprise.admin.monitor.stats.lb.InstanceStats inst = (com.sun.enterprise.admin.monitor.stats.lb.InstanceStats) o;
if (!(_Id == null ? inst._Id == null : _Id.equals(inst._Id)))
return false;
if (!(_Health == null ? inst._Health == null : _Health.equals(inst._Health)))
return false;
if (!(_NumTotalRequests == null ? inst._NumTotalRequests == null : _NumTotalRequests.equals(inst._NumTotalRequests)))
return false;
if (!(_NumActiveRequests == null ? inst._NumActiveRequests == null : _NumActiveRequests.equals(inst._NumActiveRequests)))
return false;
if (sizeApplicationStats() != inst.sizeApplicationStats())
return false;
// Compare every element.
for (java.util.Iterator it = _ApplicationStats.iterator(), it2 = inst._ApplicationStats.iterator();
it.hasNext() && it2.hasNext(); ) {
boolean element = ((java.lang.Boolean)it.next()).booleanValue();
boolean element2 = ((java.lang.Boolean)it2.next()).booleanValue();
if (!(element == element2))
return false;
}
if (!(_ApplicationStatsId == null ? inst._ApplicationStatsId == null : _ApplicationStatsId.equals(inst._ApplicationStatsId)))
return false;
if (!(_ApplicationStatsAverageResponseTime == null ? inst._ApplicationStatsAverageResponseTime == null : _ApplicationStatsAverageResponseTime.equals(inst._ApplicationStatsAverageResponseTime)))
return false;
if (!(_ApplicationStatsMinResponseTime == null ? inst._ApplicationStatsMinResponseTime == null : _ApplicationStatsMinResponseTime.equals(inst._ApplicationStatsMinResponseTime)))
return false;
if (!(_ApplicationStatsMaxResponseTime == null ? inst._ApplicationStatsMaxResponseTime == null : _ApplicationStatsMaxResponseTime.equals(inst._ApplicationStatsMaxResponseTime)))
return false;
if (!(_ApplicationStatsNumFailoverRequests == null ? inst._ApplicationStatsNumFailoverRequests == null : _ApplicationStatsNumFailoverRequests.equals(inst._ApplicationStatsNumFailoverRequests)))
return false;
if (!(_ApplicationStatsNumErrorRequests == null ? inst._ApplicationStatsNumErrorRequests == null : _ApplicationStatsNumErrorRequests.equals(inst._ApplicationStatsNumErrorRequests)))
return false;
if (!(_ApplicationStatsNumActiveRequests == null ? inst._ApplicationStatsNumActiveRequests == null : _ApplicationStatsNumActiveRequests.equals(inst._ApplicationStatsNumActiveRequests)))
return false;
if (!(_ApplicationStatsNumIdempotentUrlRequests == null ? inst._ApplicationStatsNumIdempotentUrlRequests == null : _ApplicationStatsNumIdempotentUrlRequests.equals(inst._ApplicationStatsNumIdempotentUrlRequests)))
return false;
if (!(_ApplicationStatsNumTotalRequests == null ? inst._ApplicationStatsNumTotalRequests == null : _ApplicationStatsNumTotalRequests.equals(inst._ApplicationStatsNumTotalRequests)))
return false;
return true;
|
public java.util.List | fetchApplicationStatsList()
return _ApplicationStats;
|
public java.lang.Object | fetchPropertyByName(java.lang.String nameIn)
if ( nameIn == null ) {
throw new IllegalArgumentException();
}
/** The '==' comparisons below are correct;
see the javadoc for String.intern().
*/
final String name = nameIn.intern();
if (name == "id")
return getId();
if (name == "health")
return getHealth();
if (name == "numTotalRequests")
return getNumTotalRequests();
if (name == "numActiveRequests")
return getNumActiveRequests();
if (name == "applicationStats[]")
return getApplicationStats();
if (name == "applicationStatsId")
return getApplicationStatsId();
if (name == "applicationStatsAverageResponseTime")
return getApplicationStatsAverageResponseTime();
if (name == "applicationStatsMinResponseTime")
return getApplicationStatsMinResponseTime();
if (name == "applicationStatsMaxResponseTime")
return getApplicationStatsMaxResponseTime();
if (name == "applicationStatsNumFailoverRequests")
return getApplicationStatsNumFailoverRequests();
if (name == "applicationStatsNumErrorRequests")
return getApplicationStatsNumErrorRequests();
if (name == "applicationStatsNumActiveRequests")
return getApplicationStatsNumActiveRequests();
if (name == "applicationStatsNumIdempotentUrlRequests")
return getApplicationStatsNumIdempotentUrlRequests();
if (name == "applicationStatsNumTotalRequests")
return getApplicationStatsNumTotalRequests();
throw new IllegalArgumentException(name+" is not a valid property name for InstanceStats");
|
public boolean[] | getApplicationStats()
boolean[] arr = new boolean[_ApplicationStats.size()];
for (int i = 0; i < arr.length; ++i) {
arr[i] = ((java.lang.Boolean)_ApplicationStats.get(i)).booleanValue();
}
return arr;
|
public java.lang.String | getApplicationStatsAverageResponseTime()
return _ApplicationStatsAverageResponseTime;
|
public java.lang.String | getApplicationStatsId()
return _ApplicationStatsId;
|
public java.lang.String | getApplicationStatsMaxResponseTime()
return _ApplicationStatsMaxResponseTime;
|
public java.lang.String | getApplicationStatsMinResponseTime()
return _ApplicationStatsMinResponseTime;
|
public java.lang.String | getApplicationStatsNumActiveRequests()
return _ApplicationStatsNumActiveRequests;
|
public java.lang.String | getApplicationStatsNumErrorRequests()
return _ApplicationStatsNumErrorRequests;
|
public java.lang.String | getApplicationStatsNumFailoverRequests()
return _ApplicationStatsNumFailoverRequests;
|
public java.lang.String | getApplicationStatsNumIdempotentUrlRequests()
return _ApplicationStatsNumIdempotentUrlRequests;
|
public java.lang.String | getApplicationStatsNumTotalRequests()
return _ApplicationStatsNumTotalRequests;
|
public java.lang.String | getHealth()
return _Health;
|
public java.lang.String | getId()
return _Id;
|
public java.lang.String | getNumActiveRequests()
return _NumActiveRequests;
|
public java.lang.String | getNumTotalRequests()
return _NumTotalRequests;
|
public int | hashCode()
int result = 17;
result = 37*result + (_Id == null ? 0 : _Id.hashCode());
result = 37*result + (_Health == null ? 0 : _Health.hashCode());
result = 37*result + (_NumTotalRequests == null ? 0 : _NumTotalRequests.hashCode());
result = 37*result + (_NumActiveRequests == null ? 0 : _NumActiveRequests.hashCode());
result = 37*result + ((_ApplicationStats).hashCode());
result = 37*result + (_ApplicationStatsId == null ? 0 : _ApplicationStatsId.hashCode());
result = 37*result + (_ApplicationStatsAverageResponseTime == null ? 0 : _ApplicationStatsAverageResponseTime.hashCode());
result = 37*result + (_ApplicationStatsMinResponseTime == null ? 0 : _ApplicationStatsMinResponseTime.hashCode());
result = 37*result + (_ApplicationStatsMaxResponseTime == null ? 0 : _ApplicationStatsMaxResponseTime.hashCode());
result = 37*result + (_ApplicationStatsNumFailoverRequests == null ? 0 : _ApplicationStatsNumFailoverRequests.hashCode());
result = 37*result + (_ApplicationStatsNumErrorRequests == null ? 0 : _ApplicationStatsNumErrorRequests.hashCode());
result = 37*result + (_ApplicationStatsNumActiveRequests == null ? 0 : _ApplicationStatsNumActiveRequests.hashCode());
result = 37*result + (_ApplicationStatsNumIdempotentUrlRequests == null ? 0 : _ApplicationStatsNumIdempotentUrlRequests.hashCode());
result = 37*result + (_ApplicationStatsNumTotalRequests == null ? 0 : _ApplicationStatsNumTotalRequests.hashCode());
return result;
|
public boolean | isApplicationStats(int index)
return ((java.lang.Boolean)_ApplicationStats.get(index)).booleanValue();
|
public void | readNode(org.w3c.dom.Node node)
if (node.hasAttributes()) {
org.w3c.dom.NamedNodeMap attrs = node.getAttributes();
org.w3c.dom.Attr attr;
attr = (org.w3c.dom.Attr) attrs.getNamedItem("id");
if (attr != null) {
_Id = attr.getValue();
}
attr = (org.w3c.dom.Attr) attrs.getNamedItem("health");
if (attr != null) {
_Health = attr.getValue();
}
attr = (org.w3c.dom.Attr) attrs.getNamedItem("num-total-requests");
if (attr != null) {
_NumTotalRequests = attr.getValue();
}
attr = (org.w3c.dom.Attr) attrs.getNamedItem("num-active-requests");
if (attr != null) {
_NumActiveRequests = attr.getValue();
}
}
org.w3c.dom.NodeList children = node.getChildNodes();
int lastElementType = 0;
for (int i = 0, size = children.getLength(); i < size; ++i) {
org.w3c.dom.Node childNode = children.item(i);
String childNodeName = (childNode.getLocalName() == null ? childNode.getNodeName().intern() : childNode.getLocalName().intern());
String childNodeValue = "";
if (childNode.getFirstChild() != null) {
childNodeValue = childNode.getFirstChild().getNodeValue();
}
if (childNodeName == "application-stats") {
boolean aApplicationStats;
if (childNode.getFirstChild() == null)
aApplicationStats = true;
else
aApplicationStats = java.lang.Boolean.valueOf(childNodeValue).booleanValue();
if (childNode.hasAttributes()) {
org.w3c.dom.NamedNodeMap attrs = childNode.getAttributes();
org.w3c.dom.Attr attr;
attr = (org.w3c.dom.Attr) attrs.getNamedItem("id");
if (attr != null) {
_ApplicationStatsId = attr.getValue();
}
attr = (org.w3c.dom.Attr) attrs.getNamedItem("average-response-time");
if (attr != null) {
_ApplicationStatsAverageResponseTime = attr.getValue();
}
attr = (org.w3c.dom.Attr) attrs.getNamedItem("min-response-time");
if (attr != null) {
_ApplicationStatsMinResponseTime = attr.getValue();
}
attr = (org.w3c.dom.Attr) attrs.getNamedItem("max-response-time");
if (attr != null) {
_ApplicationStatsMaxResponseTime = attr.getValue();
}
attr = (org.w3c.dom.Attr) attrs.getNamedItem("num-failover-requests");
if (attr != null) {
_ApplicationStatsNumFailoverRequests = attr.getValue();
}
attr = (org.w3c.dom.Attr) attrs.getNamedItem("num-error-requests");
if (attr != null) {
_ApplicationStatsNumErrorRequests = attr.getValue();
}
attr = (org.w3c.dom.Attr) attrs.getNamedItem("num-active-requests");
if (attr != null) {
_ApplicationStatsNumActiveRequests = attr.getValue();
}
attr = (org.w3c.dom.Attr) attrs.getNamedItem("num-idempotent-url-requests");
if (attr != null) {
_ApplicationStatsNumIdempotentUrlRequests = attr.getValue();
}
attr = (org.w3c.dom.Attr) attrs.getNamedItem("num-total-requests");
if (attr != null) {
_ApplicationStatsNumTotalRequests = attr.getValue();
}
}
_ApplicationStats.add((aApplicationStats ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE));
lastElementType = 4;
}
else {
// Found extra unrecognized childNode
}
}
|
public int | removeApplicationStats(boolean value)
int pos = _ApplicationStats.indexOf((value ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE));
if (pos >= 0) {
_ApplicationStats.remove(pos);
}
return pos;
|
public void | setApplicationStats(boolean[] value)
if (value == null)
value = new boolean[0];
_ApplicationStats.clear();
for (int i = 0; i < value.length; ++i) {
_ApplicationStats.add((value[i] ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE));
}
|
public void | setApplicationStats(int index, boolean value)
_ApplicationStats.set(index, (value ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE));
|
public void | setApplicationStatsAverageResponseTime(java.lang.String value)
_ApplicationStatsAverageResponseTime = value;
|
public void | setApplicationStatsId(java.lang.String value)
_ApplicationStatsId = value;
|
public void | setApplicationStatsMaxResponseTime(java.lang.String value)
_ApplicationStatsMaxResponseTime = value;
|
public void | setApplicationStatsMinResponseTime(java.lang.String value)
_ApplicationStatsMinResponseTime = value;
|
public void | setApplicationStatsNumActiveRequests(java.lang.String value)
_ApplicationStatsNumActiveRequests = value;
|
public void | setApplicationStatsNumErrorRequests(java.lang.String value)
_ApplicationStatsNumErrorRequests = value;
|
public void | setApplicationStatsNumFailoverRequests(java.lang.String value)
_ApplicationStatsNumFailoverRequests = value;
|
public void | setApplicationStatsNumIdempotentUrlRequests(java.lang.String value)
_ApplicationStatsNumIdempotentUrlRequests = value;
|
public void | setApplicationStatsNumTotalRequests(java.lang.String value)
_ApplicationStatsNumTotalRequests = value;
|
public void | setHealth(java.lang.String value)
_Health = value;
|
public void | setId(java.lang.String value)
_Id = value;
|
public void | setNumActiveRequests(java.lang.String value)
_NumActiveRequests = value;
|
public void | setNumTotalRequests(java.lang.String value)
_NumTotalRequests = value;
|
public int | sizeApplicationStats()
return _ApplicationStats.size();
|
public java.lang.String | toString()
java.io.StringWriter sw = new java.io.StringWriter();
try {
writeNode(sw, "InstanceStats", "");
} catch (java.io.IOException e) {
// How can we actually get an IOException on a StringWriter?
// We'll just ignore it.
}
return sw.toString();
|
public void | validate()
boolean restrictionFailure = false;
// Validating property id
if (getId() == null) {
throw new com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.ValidateException("getId() == null", "id", this); // NOI18N
}
// Validating property health
if (getHealth() == null) {
throw new com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.ValidateException("getHealth() == null", "health", this); // NOI18N
}
// Validating property numTotalRequests
if (getNumTotalRequests() == null) {
throw new com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.ValidateException("getNumTotalRequests() == null", "numTotalRequests", this); // NOI18N
}
// Validating property numActiveRequests
if (getNumActiveRequests() == null) {
throw new com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.ValidateException("getNumActiveRequests() == null", "numActiveRequests", this); // NOI18N
}
// Validating property applicationStats
for (int _index = 0; _index < sizeApplicationStats(); ++_index) {
boolean element = isApplicationStats(_index);
}
// Validating property applicationStatsId
if (getApplicationStatsId() == null) {
throw new com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.ValidateException("getApplicationStatsId() == null", "applicationStatsId", this); // NOI18N
}
// Validating property applicationStatsAverageResponseTime
if (getApplicationStatsAverageResponseTime() == null) {
throw new com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.ValidateException("getApplicationStatsAverageResponseTime() == null", "applicationStatsAverageResponseTime", this); // NOI18N
}
// Validating property applicationStatsMinResponseTime
if (getApplicationStatsMinResponseTime() == null) {
throw new com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.ValidateException("getApplicationStatsMinResponseTime() == null", "applicationStatsMinResponseTime", this); // NOI18N
}
// Validating property applicationStatsMaxResponseTime
if (getApplicationStatsMaxResponseTime() == null) {
throw new com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.ValidateException("getApplicationStatsMaxResponseTime() == null", "applicationStatsMaxResponseTime", this); // NOI18N
}
// Validating property applicationStatsNumFailoverRequests
if (getApplicationStatsNumFailoverRequests() == null) {
throw new com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.ValidateException("getApplicationStatsNumFailoverRequests() == null", "applicationStatsNumFailoverRequests", this); // NOI18N
}
// Validating property applicationStatsNumErrorRequests
if (getApplicationStatsNumErrorRequests() == null) {
throw new com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.ValidateException("getApplicationStatsNumErrorRequests() == null", "applicationStatsNumErrorRequests", this); // NOI18N
}
// Validating property applicationStatsNumActiveRequests
if (getApplicationStatsNumActiveRequests() == null) {
throw new com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.ValidateException("getApplicationStatsNumActiveRequests() == null", "applicationStatsNumActiveRequests", this); // NOI18N
}
// Validating property applicationStatsNumIdempotentUrlRequests
if (getApplicationStatsNumIdempotentUrlRequests() == null) {
throw new com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.ValidateException("getApplicationStatsNumIdempotentUrlRequests() == null", "applicationStatsNumIdempotentUrlRequests", this); // NOI18N
}
// Validating property applicationStatsNumTotalRequests
if (getApplicationStatsNumTotalRequests() == null) {
throw new com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.ValidateException("getApplicationStatsNumTotalRequests() == null", "applicationStatsNumTotalRequests", this); // NOI18N
}
|
public void | writeNode(java.io.Writer out, java.lang.String nodeName, java.lang.String indent)
out.write(indent);
out.write("<");
out.write(nodeName);
// id is an attribute
if (_Id != null) {
out.write(" id"); // NOI18N
out.write("='"); // NOI18N
com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.writeXML(out, _Id, true);
out.write("'"); // NOI18N
}
// health is an attribute
if (_Health != null) {
out.write(" health"); // NOI18N
out.write("='"); // NOI18N
com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.writeXML(out, _Health, true);
out.write("'"); // NOI18N
}
// num-total-requests is an attribute
if (_NumTotalRequests != null) {
out.write(" num-total-requests"); // NOI18N
out.write("='"); // NOI18N
com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.writeXML(out, _NumTotalRequests, true);
out.write("'"); // NOI18N
}
// num-active-requests is an attribute
if (_NumActiveRequests != null) {
out.write(" num-active-requests"); // NOI18N
out.write("='"); // NOI18N
com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.writeXML(out, _NumActiveRequests, true);
out.write("'"); // NOI18N
}
out.write(">\n");
String nextIndent = indent + " ";
for (java.util.Iterator it = _ApplicationStats.iterator();
it.hasNext(); ) {
boolean element = ((java.lang.Boolean)it.next()).booleanValue();
if (element) {
out.write(nextIndent);
out.write("<application-stats"); // NOI18N
// id is an attribute
if (_ApplicationStatsId != null) {
out.write(" id"); // NOI18N
out.write("='"); // NOI18N
com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.writeXML(out, _ApplicationStatsId, true);
out.write("'"); // NOI18N
}
// average-response-time is an attribute
if (_ApplicationStatsAverageResponseTime != null) {
out.write(" average-response-time"); // NOI18N
out.write("='"); // NOI18N
com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.writeXML(out, _ApplicationStatsAverageResponseTime, true);
out.write("'"); // NOI18N
}
// min-response-time is an attribute
if (_ApplicationStatsMinResponseTime != null) {
out.write(" min-response-time"); // NOI18N
out.write("='"); // NOI18N
com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.writeXML(out, _ApplicationStatsMinResponseTime, true);
out.write("'"); // NOI18N
}
// max-response-time is an attribute
if (_ApplicationStatsMaxResponseTime != null) {
out.write(" max-response-time"); // NOI18N
out.write("='"); // NOI18N
com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.writeXML(out, _ApplicationStatsMaxResponseTime, true);
out.write("'"); // NOI18N
}
// num-failover-requests is an attribute
if (_ApplicationStatsNumFailoverRequests != null) {
out.write(" num-failover-requests"); // NOI18N
out.write("='"); // NOI18N
com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.writeXML(out, _ApplicationStatsNumFailoverRequests, true);
out.write("'"); // NOI18N
}
// num-error-requests is an attribute
if (_ApplicationStatsNumErrorRequests != null) {
out.write(" num-error-requests"); // NOI18N
out.write("='"); // NOI18N
com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.writeXML(out, _ApplicationStatsNumErrorRequests, true);
out.write("'"); // NOI18N
}
// num-active-requests is an attribute
if (_ApplicationStatsNumActiveRequests != null) {
out.write(" num-active-requests"); // NOI18N
out.write("='"); // NOI18N
com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.writeXML(out, _ApplicationStatsNumActiveRequests, true);
out.write("'"); // NOI18N
}
// num-idempotent-url-requests is an attribute
if (_ApplicationStatsNumIdempotentUrlRequests != null) {
out.write(" num-idempotent-url-requests"); // NOI18N
out.write("='"); // NOI18N
com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.writeXML(out, _ApplicationStatsNumIdempotentUrlRequests, true);
out.write("'"); // NOI18N
}
// num-total-requests is an attribute
if (_ApplicationStatsNumTotalRequests != null) {
out.write(" num-total-requests"); // NOI18N
out.write("='"); // NOI18N
com.sun.enterprise.admin.monitor.stats.lb.LoadBalancerStats.writeXML(out, _ApplicationStatsNumTotalRequests, true);
out.write("'"); // NOI18N
}
out.write("/>\n"); // NOI18N
}
}
out.write(indent);
out.write("</"+nodeName+">\n");
|