Java Doc for MonitorComposite.java in  » Profiler » JAMon » com » jamonapi » 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 » Profiler » JAMon » com.jamonapi 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.jamonapi.Monitor
      com.jamonapi.MonitorComposite

MonitorComposite
public class MonitorComposite extends Monitor implements DetailData(Code)



Constructor Summary
public  MonitorComposite(Monitor[] monitors)
    
 MonitorComposite()
    

Method Summary
public  Monitoradd(double value)
    
public  voiddisable()
    
public  voidenable()
    
public  doublegetActive()
    
public  doublegetAvg()
    
public  doublegetAvgActive()
    
public  Object[][]getBasicData()
    
public  String[]getBasicHeader()
     Return the header that applies to all monitors.
public  Object[][]getData()
    
public  Object[][]getDisplayData()
    
public  String[]getDisplayHeader()
     Return the header with basic data and one column for each range.
public  DategetFirstAccess()
    
public  String[]getHeader()
     Return the header with basic data and columns for each field within the range.
public  doublegetHits()
    
public  JAMonDetailValuegetJAMonDetailRow()
    
public  DategetLastAccess()
    
public  doublegetLastValue()
    
public  doublegetMax()
    
public  doublegetMaxActive()
    
public  doublegetMin()
    
public  MonKeygetMonKey()
    
public  Monitor[]getMonitors()
    
public static  MonitorCompositegetMonitors(String[][] labels)
    
public  intgetNumRows()
    
public  RangegetRange()
    
public  StringgetReport()
     A basic report in html format.
public  StringgetReport(int sortCol, String sortOrder)
     A basic report in html format that is sorted.
public  doublegetStdDev()
     This is not a true standard deviation but a average weighted std deviation.
public  doublegetTotal()
    
public  booleanhasData()
    
public  booleanhasListeners()
    
public  booleanisActivityTracking()
    
public  booleanisEnabled()
    
public  booleanisPrimary()
    
public  voidreset()
    
public  voidsetActive(double value)
    
public  voidsetActivityTracking(boolean trackActivity)
    
public  voidsetFirstAccess(java.util.Date date)
    
public  voidsetHits(double value)
    
public  voidsetLastAccess(java.util.Date date)
    
public  voidsetLastValue(double value)
    
public  voidsetMax(double value)
    
public  voidsetMaxActive(double value)
    
public  voidsetMin(double value)
    
public  voidsetPrimary(boolean isPrimary)
    
public  voidsetTotal(double value)
    
public  voidsetTotalActive(double value)
    
public  Monitorstart()
    
public  Monitorstop()
    


Constructor Detail
MonitorComposite
public MonitorComposite(Monitor[] monitors)(Code)
Creates a new instance of MonitorComposite



MonitorComposite
MonitorComposite()(Code)




Method Detail
add
public Monitor add(double value)(Code)



disable
public void disable()(Code)



enable
public void enable()(Code)



getActive
public double getActive()(Code)



getAvg
public double getAvg()(Code)



getAvgActive
public double getAvgActive()(Code)
This returns a weighted average



getBasicData
public Object[][] getBasicData()(Code)
Get basic data (which excludes range data)



getBasicHeader
public String[] getBasicHeader()(Code)
Return the header that applies to all monitors. It does not include range column headers. It will contain label, hits, total, avg, min, max and active among other columns



getData
public Object[][] getData()(Code)
Get all data including basic data as well as each element within the range



getDisplayData
public Object[][] getDisplayData()(Code)
Get display data including 1 column for each range



getDisplayHeader
public String[] getDisplayHeader()(Code)
Return the header with basic data and one column for each range. Note this only will work with ranges of the same type



getFirstAccess
public Date getFirstAccess()(Code)



getHeader
public String[] getHeader()(Code)
Return the header with basic data and columns for each field within the range. note getHeader only works if the range of all monitors in the composite are the same.



getHits
public double getHits()(Code)



getJAMonDetailRow
public JAMonDetailValue getJAMonDetailRow()(Code)



getLastAccess
public Date getLastAccess()(Code)



getLastValue
public double getLastValue()(Code)



getMax
public double getMax()(Code)



getMaxActive
public double getMaxActive()(Code)



getMin
public double getMin()(Code)



getMonKey
public MonKey getMonKey()(Code)



getMonitors
public Monitor[] getMonitors()(Code)



getMonitors
public static MonitorComposite getMonitors(String[][] labels)(Code)
Pass in an array with col1=lables, and col2=units and then call methods



getNumRows
public int getNumRows()(Code)



getRange
public Range getRange()(Code)



getReport
public String getReport()(Code)
A basic report in html format. It has summary info for all monitors but no range info



getReport
public String getReport(int sortCol, String sortOrder)(Code)
A basic report in html format that is sorted. It has summary info for all monitors but no range info



getStdDev
public double getStdDev()(Code)
This is not a true standard deviation but a average weighted std deviation. However individual monitors do have a true standard deviation



getTotal
public double getTotal()(Code)



hasData
public boolean hasData()(Code)
Does this have data?



hasListeners
public boolean hasListeners()(Code)



isActivityTracking
public boolean isActivityTracking()(Code)



isEnabled
public boolean isEnabled()(Code)
It just takes one of the monitors to not be enabled for the composite to be false



isPrimary
public boolean isPrimary()(Code)
It just takes one of the monitors to not be primary for the composite to be false



reset
public void reset()(Code)



setActive
public void setActive(double value)(Code)



setActivityTracking
public void setActivityTracking(boolean trackActivity)(Code)



setFirstAccess
public void setFirstAccess(java.util.Date date)(Code)



setHits
public void setHits(double value)(Code)



setLastAccess
public void setLastAccess(java.util.Date date)(Code)



setLastValue
public void setLastValue(double value)(Code)



setMax
public void setMax(double value)(Code)



setMaxActive
public void setMaxActive(double value)(Code)



setMin
public void setMin(double value)(Code)



setPrimary
public void setPrimary(boolean isPrimary)(Code)



setTotal
public void setTotal(double value)(Code)



setTotalActive
public void setTotalActive(double value)(Code)



start
public Monitor start()(Code)



stop
public Monitor stop()(Code)



Fields inherited from com.jamonapi.Monitor
final public static String MAX(Code)(Java Doc)
final public static String MAXACTIVE(Code)(Java Doc)
final public static String MIN(Code)(Java Doc)
final public static String VALUE(Code)(Java Doc)
MonInternals monData(Code)(Java Doc)

Methods inherited from com.jamonapi.Monitor
public Monitor add(double value)(Code)(Java Doc)
public void disable()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
public double getActive()(Code)(Java Doc)
public double getAvg()(Code)(Java Doc)
public double getAvgActive()(Code)(Java Doc)
public double getAvgGlobalActive()(Code)(Java Doc)
public double getAvgPrimaryActive()(Code)(Java Doc)
public Date getFirstAccess()(Code)(Java Doc)
public double getHits()(Code)(Java Doc)
public JAMonDetailValue getJAMonDetailRow()(Code)(Java Doc)
public String getLabel()(Code)(Java Doc)
public Date getLastAccess()(Code)(Java Doc)
public double getLastValue()(Code)(Java Doc)
public ListenerType getListenerType(String listenerType)(Code)(Java Doc)
Listeners getListeners()(Code)(Java Doc)
public double getMax()(Code)(Java Doc)
public double getMaxActive()(Code)(Java Doc)
public double getMin()(Code)(Java Doc)
final MonInternals getMonInternals()(Code)(Java Doc)
public MonKey getMonKey()(Code)(Java Doc)
public Range getRange()(Code)(Java Doc)
public double getStdDev()(Code)(Java Doc)
public double getTotal()(Code)(Java Doc)
public String getUnits()(Code)(Java Doc)
public boolean hasListeners()(Code)(Java Doc)
public boolean isActivityTracking()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isPrimary()(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void setAccessStats(long now)(Code)(Java Doc)
public void setActive(double value)(Code)(Java Doc)
public void setActivityTracking(boolean trackActivity)(Code)(Java Doc)
public void setFirstAccess(Date date)(Code)(Java Doc)
public void setHits(double value)(Code)(Java Doc)
public void setLastAccess(Date date)(Code)(Java Doc)
public void setLastValue(double value)(Code)(Java Doc)
public void setMax(double value)(Code)(Java Doc)
public void setMaxActive(double value)(Code)(Java Doc)
public void setMin(double value)(Code)(Java Doc)
public void setPrimary(boolean isPrimary)(Code)(Java Doc)
public void setTotal(double value)(Code)(Java Doc)
public void setTotalActive(double value)(Code)(Java Doc)
public Monitor start()(Code)(Java Doc)
public Monitor stop()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

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.