NumberColumn secondLevelCount = new NumberColumn("second-level-cache-put-count","Put Count");
Column[] secondLevelCols = new Column[] {
secondLevelCount.setBaseline(true),
new NumberColumn("second-level-cache-hit-count","Hit Count").setComparisonColumn(secondLevelCount),
new TextColumn("second-level-cache-miss-count","Miss Count").setComparisonColumn(secondLevelCount)
};
if(Console.protovisAvailable())
{
secondLevelSampler = new BulletGraphView("Second Level Cache", "count").setColumns(secondLevelCols);
}
else
{
secondLevelSampler = new PlainColumnView("Second Level Cache", addressCallback)
.setColumns(secondLevelCols)
.setWidth(100, Style.Unit.PCT);
}
// ------
NumberColumn sessionOpenCount = new NumberColumn("session-open-count", "open");
Column[] connectionCols = new Column[] {
sessionOpenCount.setBaseline(true),
new TextColumn("session-close-count","Closed").setComparisonColumn(sessionOpenCount),
new NumberColumn("connect-count","Connection Count")
};
if(Console.protovisAvailable())