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

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

public class JCACFData
extends SampleData

Data retrieved from JCA Connection Factories.


Field Summary
 
Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData
decimalFormat
 
Constructor Summary
JCACFData()
           
 
Method Summary
 void compute(SampleData needs_cast)
          Implementation of inherited method.
protected  String getInnerPrintData()
          Implementation of inherited abstract method.
protected  String getInnerPrintHeader()
          Implementation of inherited abstract method.
 Map<String,?> getValueOfAttributes()
           
 
Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData
computeSamplePeriod, concatDataElement, getAttribute, getAttributeAsDouble, getAttributeAsInt, getAttributeAsLong, getCmdId, getDomain, getJmxURL, getName, getObjectName, getPrintHeader, getSampleTime, getSeparator, getServer, isValid, printData, setAttribute, setCmdId, 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

JCACFData

public JCACFData()
Method Detail

compute

public void compute(SampleData needs_cast)
Implementation of inherited method. JCA ConnectionFactory sampling. Compute servedOpenRate based on servedOpen Compute meanWaitTime based on waiterCount and waitingTime Compute based on servedOpen

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

getInnerPrintHeader

protected 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 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()

getValueOfAttributes

public Map<String,?> getValueOfAttributes()
Overrides:
getValueOfAttributes in class SampleData


Copyright © 2011 OW2 Consortium. All Rights Reserved.