Java Doc for MonitorFactoryInterface.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) 


com.jamonapi.MonitorFactoryInterface

All known Subclasses:   com.jamonapi.FactoryEnabled,  com.jamonapi.FactoryDisabled,
MonitorFactoryInterface
public interface MonitorFactoryInterface (Code)




Method Summary
public  Monitoradd(String label, String units, double value)
     Return a monitor with the given label and units.
public  Monitoradd(MonKey key, double value)
     Used when you want to create your own key for the monitor.
public  voidenableGlobalActive(boolean enable)
    
public  booleanexists(String label, String units)
    
public  booleanexists(MonKey key)
    
public  MonitorCompositegetComposite(String units)
    
public  MonitorgetMonitor()
     Returns a non-TimeMonitor that won't update the jamon factory.
public  MonitorgetMonitor(MonKey key)
     Get the monitor associated with the passed in key.
public  MonitorgetMonitor(String label, String units)
     Get the monitor with the passed in label, and units.
public  intgetNumRows()
    
public  String[]getRangeHeader()
    
public  Object[][]getRangeNames()
     Retun an array of range names.
public  MonitorCompositegetRootMonitor()
    
public  MonitorgetTimeMonitor(String label)
     Get the time monitor associated with the passed in label.
public  MonitorgetTimeMonitor(MonKey key)
     Get the time monitor associated with the passed in key.
public  StringgetVersion()
     Get JAMon's version.
public  booleanisGlobalActiveEnabled()
    
public  Iteratoriterator()
    
public  voidremove(String label, String units)
    
public  voidremove(MonKey key)
    
public  voidreset()
     Reset jamon stats for this factory.
public  voidsetMap(Map map)
     Set the map that holds the monitors.
public  voidsetRangeDefault(String key, RangeHolder rangeHolder)
    
public  Monitorstart(String label)
     Return a time monitor (the units are implied and are ms.
public  Monitorstart(MonKey key)
     Start using the passed in key.
public  Monitorstart()
     Returns a TimeMonitor that won't update the jamon factory.
public  MonitorstartPrimary(String label)
    
public  MonitorstartPrimary(MonKey key)
    



Method Detail
add
public Monitor add(String label, String units, double value)(Code)
Return a monitor with the given label and units. Note label has an effect on what range is used. If no range is associated with units then it will use the null range (i.e. no range) Sample Call: factory.add("com.fdsapi.MyException", "error", 1);



add
public Monitor add(MonKey key, double value)(Code)
Used when you want to create your own key for the monitor. This works similarly to a group by clause where the key is any columns used after the group by clause.



enableGlobalActive
public void enableGlobalActive(boolean enable)(Code)



exists
public boolean exists(String label, String units)(Code)
Return true if the monitor associated with the passed in label and units exists



exists
public boolean exists(MonKey key)(Code)
Return true if the monitor associated with the passed in key exists



getComposite
public MonitorComposite getComposite(String units)(Code)



getMonitor
public Monitor getMonitor()(Code)
Returns a non-TimeMonitor that won't update the jamon factory.



getMonitor
public Monitor getMonitor(MonKey key)(Code)
Get the monitor associated with the passed in key. It will be created if it doesn't exist



getMonitor
public Monitor getMonitor(String label, String units)(Code)
Get the monitor with the passed in label, and units. It will be created if it doesn't exist



getNumRows
public int getNumRows()(Code)
Get the number of monitors in this factory



getRangeHeader
public String[] getRangeHeader()(Code)
Return the header associated with range names



getRangeNames
public Object[][] getRangeNames()(Code)
Retun an array of range names. This is dynamic based on what was passed to setRangeDefault



getRootMonitor
public MonitorComposite getRootMonitor()(Code)
Get the root composite monitor that contains all monitors in this factory



getTimeMonitor
public Monitor getTimeMonitor(String label)(Code)
Get the time monitor associated with the passed in label. It will be created if it doesn't exist. The units are in ms.



getTimeMonitor
public Monitor getTimeMonitor(MonKey key)(Code)
Get the time monitor associated with the passed in key. It will be created if it doesn't exist. The units are in ms.



getVersion
public String getVersion()(Code)
Get JAMon's version. Example: 2.0



isGlobalActiveEnabled
public boolean isGlobalActiveEnabled()(Code)



iterator
public Iterator iterator()(Code)



remove
public void remove(String label, String units)(Code)
Remove the monitor associated with the passed in label and units



remove
public void remove(MonKey key)(Code)
Remove the monitor associated with the passed in key



reset
public void reset()(Code)
Reset jamon stats for this factory. Like recreating the factory



setMap
public void setMap(Map map)(Code)
Set the map that holds the monitors. This could be used to aid jamon performance by passing in a high performance Thread safe map such as open source projects and jdk 1.5 have



setRangeDefault
public void setRangeDefault(String key, RangeHolder rangeHolder)(Code)
Associate a Range mapping to any monitor that has a unit/key name that matches what is passed to key



start
public Monitor start(String label)(Code)
Return a time monitor (the units are implied and are ms. Note activity stats are incremented



start
public Monitor start(MonKey key)(Code)
Start using the passed in key. Note activity stats are incremented



start
public Monitor start()(Code)
Returns a TimeMonitor that won't update the jamon factory.



startPrimary
public Monitor startPrimary(String label)(Code)
Start a time monitor and mark it as primary



startPrimary
public Monitor startPrimary(MonKey key)(Code)
Start a monitor with the specified key and mark it as primary



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