Java Doc for ComponentStatistics.java in  » ESB » open-esb » com » sun » jbi » framework » 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.jbi.framework 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.jbi.framework.ComponentStatistics

ComponentStatistics
public class ComponentStatistics implements ComponentStatisticsBase,ComponentStatisticsMBean(Code)
This class implements the MBean for collection of statistics for a single installed component. All statistics are since the last JBI startup; they are all reset when JBI is restarted. Please note the
author:
   Sun Microsystems, Inc.



Constructor Summary
public  ComponentStatistics(String key)
     Constructor to create the StatisticsBase and MessagingStatistics instances.

Method Summary
 voiddecrementDeployedSUs()
     Decrement the current number of Service Units deployed.
public  voiddecrementRegisteredServicesOrEndpoints()
     Decrement the current number of services or endpoints registered with the NMR.
public  intgetDeploySURequests()
     Get the count of calls to the ServiceUnitManager deploy() method.
public  shortgetDeployedSUs()
     Get the current number of Service Units deployed.
public  intgetFailedRequests()
     Get the count of failed calls to life cycle methods (excluding timeouts).
public  intgetFailedSURequests()
     Get the count of failed calls to ServiceUnitManager methods (excluding timeouts).
public  intgetInitRequests()
     Get the count of calls to the life cycle init() method.
public  intgetInitSURequests()
     Get the count of calls to the ServiceUnitManager init() method.
public  DategetLastRestartTime()
     Get the time that this component was last started.
public  shortgetRegisteredServicesOrEndpoints()
     Get the current number of services (for an SE) or endpoint (for a BC) registered with the NMR.
public  intgetShutDownRequests()
     Get the count of calls to the life cycle shutDown() method.
public  intgetShutDownSURequests()
     Get the count of calls to the ServiceUnitManager shutDown() method.
public  intgetStartRequests()
     Get the count of calls to the life cycle start() method.
public  intgetStartSURequests()
     Get the count of calls to the ServiceUnitManager start() method.
public  StatisticsBasegetStatisticsBase()
     Get the StatisticsBase instance.
public  intgetStopRequests()
     Get the count of calls to the life cycle stop() method.
public  intgetStopSURequests()
     Get the count of calls to the ServiceUnitManager stop() method.
public  intgetTimedOutRequests()
     Get the count of timed out calls to life cycle methods.
public  intgetTimedOutSURequests()
     Get the count of timed out calls to ServiceUnitManager methods.
public  intgetUndeploySURequests()
     Get the count of calls to the ServiceUnitManager undeploy() method.
 voidincrementDeploySURequests()
     Increment the count of calls to the ServiceUnitManager deploy() method.
 voidincrementDeployedSUs()
     Increment the current number of Service Units deployed.
 voidincrementFailedRequests()
     Increment the count of failed calls to life cycle methods (excluding timeouts).
 voidincrementFailedSURequests()
     Increment the count of failed calls to ServiceUnitManager methods (excluding timeouts).
 voidincrementInitRequests()
     Increment the count of calls to the life cycle init() method.
 voidincrementInitSURequests()
     Increment the count of calls to the ServiceUnitManager init() method.
public  voidincrementRegisteredServicesOrEndpoints()
     Increment the current number of services or endpoints registered with the NMR.
 voidincrementShutDownRequests()
     Increment the count of calls to the life cycle shutDown() method.
 voidincrementShutDownSURequests()
     Increment the count of calls to the ServiceUnitManager shutDown() method.
 voidincrementStartRequests()
     Increment the count of calls to the life cycle start() method.
 voidincrementStartSURequests()
     Increment the count of calls to the ServiceUnitManager start() method.
 voidincrementStopRequests()
     Increment the count of calls to the life cycle stop() method.
 voidincrementStopSURequests()
     Increment the count of calls to the ServiceUnitManager stop() method.
 voidincrementTimedOutRequests()
     Increment the count of timed out calls to life cycle methods.
 voidincrementTimedOutSURequests()
     Increment the count of timed out calls to ServiceUnitManager methods.
 voidincrementUndeploySURequests()
     Increment the count of calls to the ServiceUnitManager undeploy() method.
public  booleanisEnabled()
     Test whether or not statistics collection is enabled.
 voidresetAllStatistics()
     Reset all statistics.
 voidresetFrameworkStatistics()
     Reset framework statistics.
public  voidsetDisabled()
     Disable statistics collection.
public  voidsetEnabled()
     Enable statistics collection.
 voidsetLastRestartTime(Date startTime)
     Set the time that this component was last started.


Constructor Detail
ComponentStatistics
public ComponentStatistics(String key)(Code)
Constructor to create the StatisticsBase and MessagingStatistics instances.
Parameters:
  key - the component name used as the key for the StatisticsBase.




Method Detail
decrementDeployedSUs
void decrementDeployedSUs()(Code)
Decrement the current number of Service Units deployed.



decrementRegisteredServicesOrEndpoints
public void decrementRegisteredServicesOrEndpoints()(Code)
Decrement the current number of services or endpoints registered with the NMR.



getDeploySURequests
public int getDeploySURequests()(Code)
Get the count of calls to the ServiceUnitManager deploy() method. The total number of calls to deploy().



getDeployedSUs
public short getDeployedSUs()(Code)
Get the current number of Service Units deployed. The current number of deployed SUs.



getFailedRequests
public int getFailedRequests()(Code)
Get the count of failed calls to life cycle methods (excluding timeouts). The total number of failed calls.



getFailedSURequests
public int getFailedSURequests()(Code)
Get the count of failed calls to ServiceUnitManager methods (excluding timeouts). The total number of failed calls.



getInitRequests
public int getInitRequests()(Code)
Get the count of calls to the life cycle init() method. The total number of calls to init().



getInitSURequests
public int getInitSURequests()(Code)
Get the count of calls to the ServiceUnitManager init() method. The total number of calls to init().



getLastRestartTime
public Date getLastRestartTime()(Code)
Get the time that this component was last started. The time of the last successful start() call.



getRegisteredServicesOrEndpoints
public short getRegisteredServicesOrEndpoints()(Code)
Get the current number of services (for an SE) or endpoint (for a BC) registered with the NMR. The total number of registered services or endpoints.



getShutDownRequests
public int getShutDownRequests()(Code)
Get the count of calls to the life cycle shutDown() method. The total number of calls to shutDown().



getShutDownSURequests
public int getShutDownSURequests()(Code)
Get the count of calls to the ServiceUnitManager shutDown() method. The total number of calls to shutDown().



getStartRequests
public int getStartRequests()(Code)
Get the count of calls to the life cycle start() method. The total number of calls to start().



getStartSURequests
public int getStartSURequests()(Code)
Get the count of calls to the ServiceUnitManager start() method. The total number of calls to start().



getStatisticsBase
public StatisticsBase getStatisticsBase()(Code)
Get the StatisticsBase instance. the StatisticsBase instance for this object.



getStopRequests
public int getStopRequests()(Code)
Get the count of calls to the life cycle stop() method. The total number of calls to stop().



getStopSURequests
public int getStopSURequests()(Code)
Get the count of calls to the ServiceUnitManager stop() method. The total number of calls to stop().



getTimedOutRequests
public int getTimedOutRequests()(Code)
Get the count of timed out calls to life cycle methods. The total number of timed out calls.



getTimedOutSURequests
public int getTimedOutSURequests()(Code)
Get the count of timed out calls to ServiceUnitManager methods. The total number of timed out calls.



getUndeploySURequests
public int getUndeploySURequests()(Code)
Get the count of calls to the ServiceUnitManager undeploy() method. The total number of calls to undeploy().



incrementDeploySURequests
void incrementDeploySURequests()(Code)
Increment the count of calls to the ServiceUnitManager deploy() method.



incrementDeployedSUs
void incrementDeployedSUs()(Code)
Increment the current number of Service Units deployed.



incrementFailedRequests
void incrementFailedRequests()(Code)
Increment the count of failed calls to life cycle methods (excluding timeouts).



incrementFailedSURequests
void incrementFailedSURequests()(Code)
Increment the count of failed calls to ServiceUnitManager methods (excluding timeouts).



incrementInitRequests
void incrementInitRequests()(Code)
Increment the count of calls to the life cycle init() method.



incrementInitSURequests
void incrementInitSURequests()(Code)
Increment the count of calls to the ServiceUnitManager init() method.



incrementRegisteredServicesOrEndpoints
public void incrementRegisteredServicesOrEndpoints()(Code)
Increment the current number of services or endpoints registered with the NMR.



incrementShutDownRequests
void incrementShutDownRequests()(Code)
Increment the count of calls to the life cycle shutDown() method.



incrementShutDownSURequests
void incrementShutDownSURequests()(Code)
Increment the count of calls to the ServiceUnitManager shutDown() method.



incrementStartRequests
void incrementStartRequests()(Code)
Increment the count of calls to the life cycle start() method.



incrementStartSURequests
void incrementStartSURequests()(Code)
Increment the count of calls to the ServiceUnitManager start() method.



incrementStopRequests
void incrementStopRequests()(Code)
Increment the count of calls to the life cycle stop() method.



incrementStopSURequests
void incrementStopSURequests()(Code)
Increment the count of calls to the ServiceUnitManager stop() method.



incrementTimedOutRequests
void incrementTimedOutRequests()(Code)
Increment the count of timed out calls to life cycle methods.



incrementTimedOutSURequests
void incrementTimedOutSURequests()(Code)
Increment the count of timed out calls to ServiceUnitManager methods.



incrementUndeploySURequests
void incrementUndeploySURequests()(Code)
Increment the count of calls to the ServiceUnitManager undeploy() method.



isEnabled
public boolean isEnabled()(Code)
Test whether or not statistics collection is enabled. true if statistics collection is enabled, false if not.



resetAllStatistics
void resetAllStatistics()(Code)
Reset all statistics.



resetFrameworkStatistics
void resetFrameworkStatistics()(Code)
Reset framework statistics. Note that the last restart time of the component is not reset, this is always preserved until the next restart of the component.



setDisabled
public void setDisabled()(Code)
Disable statistics collection. This method causes collection for this object and all its child objects to be disabled.



setEnabled
public void setEnabled()(Code)
Enable statistics collection. This method causes collection for this object and all its child objects to be enabled.



setLastRestartTime
void setLastRestartTime(Date startTime)(Code)
Set the time that this component was last started.
Parameters:
  startTime - The time of the last successful start() call.



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.