-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
public String reportReplicationStatistics()
{
StringBuffer tmp = new StringBuffer();
HashMap copy = new HashMap(stats_.getStats());
Iterator iter = copy.entrySet().iterator();
tmp.append("<table><tr>");
tmp.append("<th>sessionID</th>");
tmp.append("<th>replicationCount</th>");
tmp.append("<th>minPassivationTime</th>");
tmp.append("<th>maxPassivationTime</th>");
tmp.append("<th>totalPassivationTime</th>");
tmp.append("<th>minReplicationTime</th>");
tmp.append("<th>maxReplicationTime</th>");
tmp.append("<th>totalReplicationlTime</th>");
tmp.append("<th>loadCount</th>");
tmp.append("<th>minLoadTime</th>");
tmp.append("<th>maxLoadTime</th>");
tmp.append("<th>totalLoadlTime</th>");
while (iter.hasNext())
{
Map.Entry entry = (Map.Entry) iter.next();
ReplicationStatistics.TimeStatistic stat = (ReplicationStatistics.TimeStatistic) entry.getValue();
tmp.append("<tr><td>");
tmp.append(entry.getKey());
tmp.append("</td><td>");
tmp.append(stat.replicationCount);
stat could be null