Java Doc for PerformanceData.java in  » ESB » open-esb » com » sun » esb » management » common » data » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ESB » open esb » com.sun.esb.management.common.data 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.esb.management.common.data.PerformanceData

PerformanceData
public class PerformanceData implements Serializable(Code)

author:
   graj


Field Summary
final public static  StringAVERAGEWITHOUTFIRSTMEASUREMENT_KEY
     average' (ms) (the sum of all dt-s minus the first dt) divided by N.
final public static  StringAVERAGE_KEY
    
final public static  StringFIRSTMEASUREMENTTIME_KEY
    
final public static  StringLOAD_KEY
     Load The sum of all dt-s divided by (tlast - tfirst).
final public static  StringMEDIAN_KEY
    
final public static  StringNUMBEROFMEASUREMENTOBJECTS_KEY
     act the number of measurement objects on which begin() was called but not end().
final public static  StringNUMBEROFMEASUREMENTS_KEY
     Number of measurements (or N), i.e.
final public static  StringSOURCE_KEY
    
final public static  StringSUB_TOPIC_KEY
     sub topic the name of the measurement specified in the second argument of begin() or in setSubTopic().
final public static  StringTHROUGHPUT_KEY
     throughput N divided by (tlast - tfirst); this is the average throughput.
final public static  StringTIMETAKEN_KEY
    
final public static  StringTOPIC_KEY
     topic the name of the measurement specified in the first argument of begin() or in setSubTopic().
final public static  StringTOTALTIME_KEY
    
 doubleaverage
    
 doubleaverageWithoutFirstMeasurement
     average' (ms) (the sum of all dt-s minus the first dt) divided by N.
 Stringcategory
     sub topic the name of the measurement specified in the second argument of begin() or in setSubTopic().
 Stringendpoint
    
 doublefirstMeasurementTime
    
 doubleload
     Load The sum of all dt-s divided by (tlast - tfirst).
 doublemedian
    
 intnumberOfMeasurementObjects
     act the number of measurement objects on which begin() was called but not end().
 intnumberOfMeasurements
     Number of measurements (or N), i.e.
final static  longserialVersionUID
    
 StringsourceClassName
    
 doublethroughput
     throughput N divided by (tlast - tfirst); this is the average throughput.
 doubletimeTaken
    
 doubletotalTime
    


Method Summary
public static  StringconvertDataMapToXML(Map<String /* Category */, PerformanceData> dataMap)
    
public  doublegetAverage()
    
public  doublegetAverageWithoutFirstMeasurement()
    
public  StringgetCategory()
    
public  StringgetDisplayString()
    
public  StringgetEndpoint()
    
public  doublegetFirstMeasurementTime()
    
public  doublegetLoad()
    
public  doublegetMedian()
    
public  intgetNumberOfMeasurementObjects()
    
public  intgetNumberOfMeasurements()
    
public static  longgetSerialVersionUID()
    
public  StringgetSourceClassName()
    
public  doublegetThroughput()
    
public  doublegetTimeTaken()
    
public  doublegetTotalTime()
    
public static  Map<String /* Category */, PerformanceData>retrieveDataMap(TabularData tabularData)
    
public  voidsetAverage(double average)
    
public  voidsetAverageWithoutFirstMeasurement(double averageWithoutFirstMeasurement)
    
public  voidsetCategory(String subTopic)
    
public  voidsetEndpoint(String anEndpoint)
    
public  voidsetFirstMeasurementTime(double firstMeasurementTime)
    
public  voidsetLoad(double load)
    
public  voidsetMedian(double median)
    
public  voidsetNumberOfMeasurementObjects(int numberOfMeasurementObjects)
    
public  voidsetNumberOfMeasurements(int numberOfMeasurements)
    
public  voidsetSourceClassName(String sourceClassName)
    
public  voidsetThroughput(double throughput)
    
public  voidsetTimeTaken(double timeTaken)
    
public  voidsetTotalTime(double totalTime)
    

Field Detail
AVERAGEWITHOUTFIRSTMEASUREMENT_KEY
final public static String AVERAGEWITHOUTFIRSTMEASUREMENT_KEY(Code)
average' (ms) (the sum of all dt-s minus the first dt) divided by N. The first measurement is discounted because it typically includes classloading times and distorts the results considerably. If there's only one measurement, the first measurement is not discounted and the value should be equal to total time.



AVERAGE_KEY
final public static String AVERAGE_KEY(Code)
average sum of all dt-s divided by N; this does not discount the first measurement



FIRSTMEASUREMENTTIME_KEY
final public static String FIRSTMEASUREMENTTIME_KEY(Code)
first the first dt



LOAD_KEY
final public static String LOAD_KEY(Code)
Load The sum of all dt-s divided by (tlast - tfirst). This is a measure of concurrency: the higher the number, the greater the concurrency. In a single threaded scenario this number can never exceed 1.



MEDIAN_KEY
final public static String MEDIAN_KEY(Code)



NUMBEROFMEASUREMENTOBJECTS_KEY
final public static String NUMBEROFMEASUREMENTOBJECTS_KEY(Code)
act the number of measurement objects on which begin() was called but not end(). This indicates the number of active measurements. Caveat: there's a problem in the this accounting when the subtopic of the measurement is changed.



NUMBEROFMEASUREMENTS_KEY
final public static String NUMBEROFMEASUREMENTS_KEY(Code)
Number of measurements (or N), i.e. the number of dt-s, i.e. the number of times that Measurement.begin() - end() was called.



SOURCE_KEY
final public static String SOURCE_KEY(Code)



SUB_TOPIC_KEY
final public static String SUB_TOPIC_KEY(Code)
sub topic the name of the measurement specified in the second argument of begin() or in setSubTopic().



THROUGHPUT_KEY
final public static String THROUGHPUT_KEY(Code)
throughput N divided by (tlast - tfirst); this is the average throughput. This number is meaningful if there were no long pauses in processing.



TIMETAKEN_KEY
final public static String TIMETAKEN_KEY(Code)
tlast - tfirst the wallclock time of the first measurement's begin() method is tracked as tfirst and the wallclock time of the last measurement's end() method is tracked as tlast



TOPIC_KEY
final public static String TOPIC_KEY(Code)
topic the name of the measurement specified in the first argument of begin() or in setSubTopic().



TOTALTIME_KEY
final public static String TOTALTIME_KEY(Code)
total time (ms) the sum of all dt-s



average
double average(Code)
average sum of all dt-s divided by N; this does not discount the first measurement



averageWithoutFirstMeasurement
double averageWithoutFirstMeasurement(Code)
average' (ms) (the sum of all dt-s minus the first dt) divided by N. The first measurement is discounted because it typically includes classloading times and distorts the results considerably. If there's only one measurement, the first measurement is not discounted and the value should be equal to total time.



category
String category(Code)
sub topic the name of the measurement specified in the second argument of begin() or in setSubTopic().



endpoint
String endpoint(Code)
The endpoint for which the statistics are reported for



firstMeasurementTime
double firstMeasurementTime(Code)
first the first dt



load
double load(Code)
Load The sum of all dt-s divided by (tlast - tfirst). This is a measure of concurrency: the higher the number, the greater the concurrency. In a single threaded scenario this number can never exceed 1.



median
double median(Code)



numberOfMeasurementObjects
int numberOfMeasurementObjects(Code)
act the number of measurement objects on which begin() was called but not end(). This indicates the number of active measurements. Caveat: there's a problem in the this accounting when the subtopic of the measurement is changed.



numberOfMeasurements
int numberOfMeasurements(Code)
Number of measurements (or N), i.e. the number of dt-s, i.e. the number of times that Measurement.begin() - end() was called.



serialVersionUID
final static long serialVersionUID(Code)



sourceClassName
String sourceClassName(Code)
The name of the class that is instrumented with performance statistics gathering



throughput
double throughput(Code)
throughput N divided by (tlast - tfirst); this is the average throughput. This number is meaningful if there were no long pauses in processing.



timeTaken
double timeTaken(Code)
tlast - tfirst the wallclock time of the first measurement's begin() method is tracked as tfirst and the wallclock time of the last measurement's end() method is tracked as tlast



totalTime
double totalTime(Code)
total time (ms) the sum of all dt-s





Method Detail
convertDataMapToXML
public static String convertDataMapToXML(Map<String /* Category */, PerformanceData> dataMap) throws ManagementRemoteException(Code)
Converts a Performance Data Map to an XML String
Parameters:
  dataMap - XML string representing a performance data map
throws:
  ManagementRemoteException -



getAverage
public double getAverage()(Code)
the average



getAverageWithoutFirstMeasurement
public double getAverageWithoutFirstMeasurement()(Code)
the averageWithoutFirstMeasurement



getCategory
public String getCategory()(Code)
the category



getDisplayString
public String getDisplayString()(Code)



getEndpoint
public String getEndpoint()(Code)
the endpoint



getFirstMeasurementTime
public double getFirstMeasurementTime()(Code)
the firstMeasurementTime



getLoad
public double getLoad()(Code)
the load



getMedian
public double getMedian()(Code)
the median



getNumberOfMeasurementObjects
public int getNumberOfMeasurementObjects()(Code)
the numberOfMeasurementObjects



getNumberOfMeasurements
public int getNumberOfMeasurements()(Code)
the numberOfMeasurements



getSerialVersionUID
public static long getSerialVersionUID()(Code)
the serialVersionUID



getSourceClassName
public String getSourceClassName()(Code)
the sourceClassName



getThroughput
public double getThroughput()(Code)
the throughput



getTimeTaken
public double getTimeTaken()(Code)
the timeTaken



getTotalTime
public double getTotalTime()(Code)
the totalTime



retrieveDataMap
public static Map<String /* Category */, PerformanceData> retrieveDataMap(TabularData tabularData)(Code)
Retrieves the Performance Data Map
Parameters:
  valueObject - Performance Data Map



setAverage
public void setAverage(double average)(Code)

Parameters:
  average - the average to set



setAverageWithoutFirstMeasurement
public void setAverageWithoutFirstMeasurement(double averageWithoutFirstMeasurement)(Code)

Parameters:
  averageWithoutFirstMeasurement - the averageWithoutFirstMeasurement to set



setCategory
public void setCategory(String subTopic)(Code)

Parameters:
  category - the category to set



setEndpoint
public void setEndpoint(String anEndpoint)(Code)

Parameters:
  endpoint - the endpoint to set



setFirstMeasurementTime
public void setFirstMeasurementTime(double firstMeasurementTime)(Code)

Parameters:
  firstMeasurementTime - the firstMeasurementTime to set



setLoad
public void setLoad(double load)(Code)

Parameters:
  load - the load to set



setMedian
public void setMedian(double median)(Code)

Parameters:
  median - the median to set



setNumberOfMeasurementObjects
public void setNumberOfMeasurementObjects(int numberOfMeasurementObjects)(Code)

Parameters:
  numberOfMeasurementObjects - the numberOfMeasurementObjects to set



setNumberOfMeasurements
public void setNumberOfMeasurements(int numberOfMeasurements)(Code)

Parameters:
  numberOfMeasurements - the numberOfMeasurements to set



setSourceClassName
public void setSourceClassName(String sourceClassName)(Code)

Parameters:
  sourceClassName - the sourceClassName to set



setThroughput
public void setThroughput(double throughput)(Code)

Parameters:
  throughput - the throughput to set



setTimeTaken
public void setTimeTaken(double timeTaken)(Code)

Parameters:
  timeTaken - the timeTaken to set



setTotalTime
public void setTotalTime(double totalTime)(Code)

Parameters:
  totalTime - the totalTime to set



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.