com.cloudtran.jmx
Class DSSummaryHelper

java.lang.Object
  extended by com.cloudtran.jmx.JmxStatisticCalculator
      extended by com.cloudtran.jmx.DSSummaryHelper

public class DSSummaryHelper
extends JmxStatisticCalculator

The purpose of this bean to help with the datasource related calculations and JMX reporting. Each datasource has one which means that each Datasource thread should have a reference to this bean.


Nested Class Summary
static class DSSummaryHelper.DssSummary
           
 
Constructor Summary
DSSummaryHelper()
           
 
Method Summary
 void addTototalDbRowsDeleted(long addThis)
           
 void addTototalDbRowsInserted(long addThis)
           
 void addTototalDbRowsUpdated(long addThis)
           
 DSSResult getResults()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSSummaryHelper

public DSSummaryHelper()
Method Detail

getResults

public DSSResult getResults()
Returns:
the DSSResults holding data source statistics information

addTototalDbRowsInserted

public void addTototalDbRowsInserted(long addThis)

addTototalDbRowsUpdated

public void addTototalDbRowsUpdated(long addThis)

addTototalDbRowsDeleted

public void addTototalDbRowsDeleted(long addThis)