com.cloudtran.jmx
Class TxResult

java.lang.Object
  extended by com.cloudtran.jmx.TxResult
All Implemented Interfaces:
TxSummaryMBean

public class TxResult
extends Object
implements TxSummaryMBean

Data holder bean for JMX reporting.

Returned by TxSummaryHelper.getResults().


Constructor Summary
TxResult()
           
 
Method Summary
 long getBackoffCounter()
           
 long getCommitTimeAverage()
          The average time to commit, as measured at the transaction manager.
 long getCommitTimeMax()
          The maximum time to commit in the latest measurement period, as measured at the transaction manager.
 long getCommitToGridAverage()
           
 long getCommitToGridTimeMax()
           
 double getDiskWriteTimeAverage()
           
 long getRowsDeletedPerSecond()
           
 long getRowsInsertedPerSecond()
           
 long getRowsUpdatedPerSecond()
           
 long getTxCommittedPerSecond()
           
 long getTxCompletedPerSecond()
           
 long getTxLoggedPerSecond()
           
 long getTxStartedPerSecond()
           
 void setBackoffCounter(long backupCounter)
           
 void setCommitTimeAverage(long commitTimeAverage)
           
 void setCommitTimeMax(long commitTimeMax)
           
 void setCommitToGridTimeAverage(long commitToGridAverage)
           
 void setCommitToGridTimeMax(long commitToGridMax)
           
 void setDiskWriteTimeAverage(double newValue)
           
 void setRowsDeletedPerSecond(long rowsDeletedPerSecond)
           
 void setRowsInsertedPerSecond(long rowsInsertedPerSecond)
           
 void setRowsUpdatedPerSecond(long rowsUpdatedPerSecond)
           
 void setTxCommittedPerSecond(long txCommittedPerSecond)
           
 void setTxCompletedPerSecond(long txCompletedPerSecond)
           
 void setTxLoggedPerSecond(long newValue)
           
 void setTxStartedPerSecond(long value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TxResult

public TxResult()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getRowsDeletedPerSecond

public long getRowsDeletedPerSecond()

getRowsUpdatedPerSecond

public long getRowsUpdatedPerSecond()

getRowsInsertedPerSecond

public long getRowsInsertedPerSecond()

getTxCommittedPerSecond

public long getTxCommittedPerSecond()
Specified by:
getTxCommittedPerSecond in interface TxSummaryMBean

getTxCompletedPerSecond

public long getTxCompletedPerSecond()
Specified by:
getTxCompletedPerSecond in interface TxSummaryMBean

getBackoffCounter

public long getBackoffCounter()
Specified by:
getBackoffCounter in interface TxSummaryMBean

setBackoffCounter

public void setBackoffCounter(long backupCounter)

setRowsDeletedPerSecond

public void setRowsDeletedPerSecond(long rowsDeletedPerSecond)

setRowsUpdatedPerSecond

public void setRowsUpdatedPerSecond(long rowsUpdatedPerSecond)

setRowsInsertedPerSecond

public void setRowsInsertedPerSecond(long rowsInsertedPerSecond)

setTxCommittedPerSecond

public void setTxCommittedPerSecond(long txCommittedPerSecond)

setTxCompletedPerSecond

public void setTxCompletedPerSecond(long txCompletedPerSecond)

getTxStartedPerSecond

public long getTxStartedPerSecond()
Specified by:
getTxStartedPerSecond in interface TxSummaryMBean

setTxStartedPerSecond

public void setTxStartedPerSecond(long value)

getTxLoggedPerSecond

public long getTxLoggedPerSecond()
Specified by:
getTxLoggedPerSecond in interface TxSummaryMBean

setTxLoggedPerSecond

public void setTxLoggedPerSecond(long newValue)

getDiskWriteTimeAverage

public double getDiskWriteTimeAverage()
Specified by:
getDiskWriteTimeAverage in interface TxSummaryMBean

setDiskWriteTimeAverage

public void setDiskWriteTimeAverage(double newValue)

getCommitToGridAverage

public long getCommitToGridAverage()
Specified by:
getCommitToGridAverage in interface TxSummaryMBean

setCommitToGridTimeAverage

public void setCommitToGridTimeAverage(long commitToGridAverage)

getCommitToGridTimeMax

public long getCommitToGridTimeMax()
Specified by:
getCommitToGridTimeMax in interface TxSummaryMBean

setCommitToGridTimeMax

public void setCommitToGridTimeMax(long commitToGridMax)

getCommitTimeAverage

public long getCommitTimeAverage()
Description copied from interface: TxSummaryMBean
The average time to commit, as measured at the transaction manager. This time is from the receipt of the commit request to the return from it.

Specified by:
getCommitTimeAverage in interface TxSummaryMBean

setCommitTimeAverage

public void setCommitTimeAverage(long commitTimeAverage)

getCommitTimeMax

public long getCommitTimeMax()
Description copied from interface: TxSummaryMBean
The maximum time to commit in the latest measurement period, as measured at the transaction manager. This time is from the receipt of the commit request to the return from it. The measurement period is dependent on the monitoring tool and its usage.

Specified by:
getCommitTimeMax in interface TxSummaryMBean

setCommitTimeMax

public void setCommitTimeMax(long commitTimeMax)