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


java.lang.Object
   com.sun.jbi.messaging.MessagingStatistics

MessagingStatistics
public class MessagingStatistics (Code)
This class provides methods for creation and retrieval of messaging statistics in the message service.
author:
   Sun Microsystems, Inc.




Method Summary
public synchronized  voidaddTotalExchangeTimeToClose(long timeToClose)
     Add the time to close a Message Exchange to the running total used to compute the average.
public synchronized  voiddecrementActiveExchanges()
     Decrement the current number of active message exchanges.
public  LonggetAcceptExchanges()
     Get the total number of Message Exchange accept operations since the last message service startup.
public  LonggetAcceptTimeoutExchanges()
     Get the total number of Message Exchange accept timeout operations since the last message service startup.
public  DoublegetActiveExchangeRate()
     Get the current active message exchange rate per hour.
public  IntegergetActiveExchanges()
     Get the current number of active message exchanges.
public  LonggetExchangeMeanTimeToClose()
     Get the average time from the creation to the closing of a Message Exchange.
public  FloatgetExchangeSuccessRate()
     Get the success rate for Message Exchanges, as a percentage.
public  LonggetFailedExchanges()
     Get the total number of failed Message Exchanges since the last message service startup.
public  LonggetFaultedExchanges()
     Get the total number of faulted Message Exchanges since the last message service startup.
public  LonggetInOnlyExchanges()
     Get the total number of InOnly Message Exchanges created since the last message service startup.
public  LonggetInOptionalOutExchanges()
     Get the total number of InOptionalOut Message Exchanges created since the last message service startup.
public  LonggetInOutExchanges()
     Get the total number of InOut Message Exchanges created since the last message service startup.
public  DategetLastRestartTime()
     Get the time of the last restart of the associated entity.
public  LonggetRobustInOnlyExchanges()
     Get the total number of RobustInOnly Message Exchanges created since the last message service startup.
public  LonggetSendExchanges()
     Get the total number of Message Exchange send operations since the last message service startup.
public  LonggetSendSyncExchanges()
     Get the total number of Message Exchange sendSync operations since the last message service startup.
public  longgetTotalExchangeTimeToClose()
     Get the total time from the creation to the closing of all Message Exchanges.
public  LonggetTotalExchanges()
     Get the total number of Message Exchanges of all types created since the last message service startup.
public  LonggetTransactedExchanges()
     Get the total number of transacted Message Exchanges since the last message service startup.
public synchronized  voidincrementAcceptTimeouts()
     Increment the total number of Message Exchange accept timeout operations since the last message service startup.
public synchronized  voidincrementAccepts()
     Increment the total number of Message Exchange accept operations since the last message service startup.
public synchronized  voidincrementActiveExchanges()
     Increment the current number of active message exchanges.
public synchronized  voidincrementFailedExchanges()
     Increment the total number of failed Message Exchanges since the last message service startup.
public synchronized  voidincrementFaults()
     Increment the total number of faulted Message Exchanges since the last message service startup.
public synchronized  voidincrementInOnlyExchanges()
     Increment the total number of InOnly Message Exchanges created since the last message service startup.
public synchronized  voidincrementInOptionalOutExchanges()
     Increment the total number of InOptionalOut Message Exchanges created since the last message service startup.
public synchronized  voidincrementInOutExchanges()
     Increment the total number of InOut Message Exchanges created since the last message service startup.
public synchronized  voidincrementRobustInOnlyExchanges()
     Increment the total number of RobustInOnly Message Exchanges created since the last message service startup.
public synchronized  voidincrementSendSyncs()
     Increment the total number of Message Exchange sendSync operations since the last message service startup.
public synchronized  voidincrementSends()
     Increment the total number of Message Exchange send operations since the last message service startup.
public synchronized  voidincrementTransactedExchanges()
     Increment the total number of transacted Message Exchanges since the last message service startup.
public synchronized  voidresetStatistics()
     Reset all statistics.
public synchronized  voidsetLastRestartTime(Date restartTime)
    
public  CompositeDatatoCompositeData()
     Convert this instance to a CompositeData type.



Method Detail
addTotalExchangeTimeToClose
public synchronized void addTotalExchangeTimeToClose(long timeToClose)(Code)
Add the time to close a Message Exchange to the running total used to compute the average.
Parameters:
  timeToClose - The time to close an ME in milliseconds.



decrementActiveExchanges
public synchronized void decrementActiveExchanges()(Code)
Decrement the current number of active message exchanges.



getAcceptExchanges
public Long getAcceptExchanges()(Code)
Get the total number of Message Exchange accept operations since the last message service startup. The number of failed MEs.



getAcceptTimeoutExchanges
public Long getAcceptTimeoutExchanges()(Code)
Get the total number of Message Exchange accept timeout operations since the last message service startup. The number of failed MEs.



getActiveExchangeRate
public Double getActiveExchangeRate()(Code)
Get the current active message exchange rate per hour. The number of active message exchanges per hour.



getActiveExchanges
public Integer getActiveExchanges()(Code)
Get the current number of active message exchanges. The number of active message exchanges.



getExchangeMeanTimeToClose
public Long getExchangeMeanTimeToClose()(Code)
Get the average time from the creation to the closing of a Message Exchange. The mean time to close an ME.



getExchangeSuccessRate
public Float getExchangeSuccessRate()(Code)
Get the success rate for Message Exchanges, as a percentage. The percentage of MEs that were successful.



getFailedExchanges
public Long getFailedExchanges()(Code)
Get the total number of failed Message Exchanges since the last message service startup. The number of failed MEs.



getFaultedExchanges
public Long getFaultedExchanges()(Code)
Get the total number of faulted Message Exchanges since the last message service startup. The number of failed MEs.



getInOnlyExchanges
public Long getInOnlyExchanges()(Code)
Get the total number of InOnly Message Exchanges created since the last message service startup. The number of InOnly MEs.



getInOptionalOutExchanges
public Long getInOptionalOutExchanges()(Code)
Get the total number of InOptionalOut Message Exchanges created since the last message service startup. The number of InOptionalOut MEs.



getInOutExchanges
public Long getInOutExchanges()(Code)
Get the total number of InOut Message Exchanges created since the last message service startup. The number of InOut MEs.



getLastRestartTime
public Date getLastRestartTime()(Code)
Get the time of the last restart of the associated entity. The last restart time.



getRobustInOnlyExchanges
public Long getRobustInOnlyExchanges()(Code)
Get the total number of RobustInOnly Message Exchanges created since the last message service startup. The number of RobustInOnly MEs.



getSendExchanges
public Long getSendExchanges()(Code)
Get the total number of Message Exchange send operations since the last message service startup. The number of failed MEs.



getSendSyncExchanges
public Long getSendSyncExchanges()(Code)
Get the total number of Message Exchange sendSync operations since the last message service startup. The number of failed MEs.



getTotalExchangeTimeToClose
public long getTotalExchangeTimeToClose()(Code)
Get the total time from the creation to the closing of all Message Exchanges. The total time to close for all MEs.



getTotalExchanges
public Long getTotalExchanges()(Code)
Get the total number of Message Exchanges of all types created since the last message service startup. The total number of MEs.



getTransactedExchanges
public Long getTransactedExchanges()(Code)
Get the total number of transacted Message Exchanges since the last message service startup. The number of transacted MEs.



incrementAcceptTimeouts
public synchronized void incrementAcceptTimeouts()(Code)
Increment the total number of Message Exchange accept timeout operations since the last message service startup.



incrementAccepts
public synchronized void incrementAccepts()(Code)
Increment the total number of Message Exchange accept operations since the last message service startup.



incrementActiveExchanges
public synchronized void incrementActiveExchanges()(Code)
Increment the current number of active message exchanges.



incrementFailedExchanges
public synchronized void incrementFailedExchanges()(Code)
Increment the total number of failed Message Exchanges since the last message service startup.



incrementFaults
public synchronized void incrementFaults()(Code)
Increment the total number of faulted Message Exchanges since the last message service startup.



incrementInOnlyExchanges
public synchronized void incrementInOnlyExchanges()(Code)
Increment the total number of InOnly Message Exchanges created since the last message service startup.



incrementInOptionalOutExchanges
public synchronized void incrementInOptionalOutExchanges()(Code)
Increment the total number of InOptionalOut Message Exchanges created since the last message service startup.



incrementInOutExchanges
public synchronized void incrementInOutExchanges()(Code)
Increment the total number of InOut Message Exchanges created since the last message service startup.



incrementRobustInOnlyExchanges
public synchronized void incrementRobustInOnlyExchanges()(Code)
Increment the total number of RobustInOnly Message Exchanges created since the last message service startup.



incrementSendSyncs
public synchronized void incrementSendSyncs()(Code)
Increment the total number of Message Exchange sendSync operations since the last message service startup.



incrementSends
public synchronized void incrementSends()(Code)
Increment the total number of Message Exchange send operations since the last message service startup.



incrementTransactedExchanges
public synchronized void incrementTransactedExchanges()(Code)
Increment the total number of transacted Message Exchanges since the last message service startup.



resetStatistics
public synchronized void resetStatistics()(Code)
Reset all statistics.



setLastRestartTime
public synchronized void setLastRestartTime(Date restartTime)(Code)
Set the time of the last restart of the associated entity (component or message service);



toCompositeData
public CompositeData toCompositeData() throws javax.management.openmbean.OpenDataException(Code)
Convert this instance to a CompositeData type.



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.