org.ow2.jasmine.monitoring.mbeancmd.sampling
Class TxData

java.lang.Object
  extended by org.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData
      extended by org.ow2.jasmine.monitoring.mbeancmd.sampling.TxData

public class TxData
extends SampleData

Transaction statistics.


Field Summary
 
Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData
decimalFormat
 
Constructor Summary
TxData()
           
 
Method Summary
 void compute(SampleData needs_cast)
          Implementation of inherited abstract method.
 double getCommitedTxRate()
           
 long getCommittedTxCnt()
           
 double getCommitTxRatio()
           
protected  java.lang.String getInnerPrintData()
          Implementation of inherited abstract method.
protected  java.lang.String getInnerPrintHeader()
          Implementation of inherited abstract method.
 double getMeanCommitRatio()
           
 long getPendingTxGauge()
           
 long getRolledbackTxCnt()
           
 long getTimedOutTxCnt()
           
 java.util.Map<java.lang.String,?> getValueOfAttributes()
           
 void setCommittedTxCnt(long cnt)
           
 void setPendingTxGauge(long gauge)
           
 void setRolledbackTxCnt(long cnt)
           
 void setTimedOutTxCnt(long cnt)
           
 
Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData
getAttribute, getAttributeAsDouble, getAttributeAsInt, getAttributeAsLong, getDomain, getJmxURL, getName, getObjectName, getPrintHeader, getSampleTime, getSeparator, getServer, isValid, printData, setAttribute, setObjectName, setSampleTime, setSeparator, setServerInfo, setValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TxData

public TxData()
Method Detail

compute

public void compute(SampleData needs_cast)
Implementation of inherited abstract method.

Specified by:
compute in class SampleData
Parameters:
needs_cast - Previous measurement.
See Also:
SampleData.compute(SampleData)

getInnerPrintHeader

protected java.lang.String getInnerPrintHeader()
Implementation of inherited abstract method.

Specified by:
getInnerPrintHeader in class SampleData
Returns:
The inner (specialized) part of the header for this data type.
See Also:
SampleData.getInnerPrintHeader()

getInnerPrintData

protected java.lang.String getInnerPrintData()
Implementation of inherited abstract method.

Specified by:
getInnerPrintData in class SampleData
Returns:
The inner (specialized) part of the data for this data type.
See Also:
SampleData.getInnerPrintData()

setCommittedTxCnt

public void setCommittedTxCnt(long cnt)
Parameters:
cnt - Committed transactions.

getCommittedTxCnt

public long getCommittedTxCnt()
Returns:
Committed transactions.

setPendingTxGauge

public void setPendingTxGauge(long gauge)
Parameters:
gauge - Pending transactions.

getPendingTxGauge

public long getPendingTxGauge()
Returns:
Pending transactions.

setRolledbackTxCnt

public void setRolledbackTxCnt(long cnt)
Parameters:
cnt - Rollbacked transactions.

getRolledbackTxCnt

public long getRolledbackTxCnt()
Returns:
Rollbacked transactions.

setTimedOutTxCnt

public void setTimedOutTxCnt(long cnt)
Parameters:
cnt - Timed out transactions.

getTimedOutTxCnt

public long getTimedOutTxCnt()
Returns:
Timed out transactions.

getCommitedTxRate

public double getCommitedTxRate()
Returns:
Commited transaction rate (computed).

getCommitTxRatio

public double getCommitTxRatio()
Returns:
Commit ratio (computed).

getMeanCommitRatio

public double getMeanCommitRatio()
Returns:
Mean commit ratio (computed).

getValueOfAttributes

public java.util.Map<java.lang.String,?> getValueOfAttributes()
Overrides:
getValueOfAttributes in class SampleData


Copyright © 2010 OW2 Consortium. All Rights Reserved.