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


java.lang.Object
   com.sun.jbi.management.system.ServiceAssemblyStatistics

ServiceAssemblyStatistics
public class ServiceAssemblyStatistics (Code)
This class is used to store statistic information about a SA
author:
   Sun Microsystems, Inc.

Inner Class :class ServiceUnitStatistics
Inner Class :class Value

Field Summary
public static  StringINSTANCE_NAME
    
final public static  StringJBI_INSTANCE_NAME_DESCRIPTION
    
public static  StringSA_STATISTICS_ITEM_DESCRIPTION
    
public static  StringSA_STATISTICS_ITEM_NAME
    
public static  StringSERVICE_ASSEMBLY_LAST_STARTUP_TIME
    
final public static  StringSERVICE_ASSEMBLY_LAST_STARTUP_TIME_DESCRIPTION
    
public static  StringSERVICE_ASSEMBLY_NAME
    
final public static  StringSERVICE_ASSEMBLY_NAME_DESCRIPTION
    
final public static  StringSERVICE_ASSEMBLY_SHUTDOWN_TIME
    
final public static  StringSERVICE_ASSEMBLY_SHUTDOWN_TIME_DESCTIPTION
    
final public static  StringSERVICE_ASSEMBLY_STARTUP_TIME
    
final public static  StringSERVICE_ASSEMBLY_STARTUP_TIME_DESCRIPTION
    
final public static  StringSERVICE_ASSEMBLY_STOP_TIME
    
final public static  StringSERVICE_ASSEMBLY_STOP_TIME_DESCRIPTION
    
final public static  StringSERVICE_ASSEMBLY_SU_STATISTICS
    
final public static  StringSERVICE_ASSEMBLY_SU_STATISTICS_DESCRIPTION
    
public static  StringSERVICE_ASSEMBLY_UPTIME
    
final public static  StringSERVICE_ASSEMBLY_UPTIME_DESCRIPTION
    
public static  StringSERVICE_UNIT_NAME
    
final public static  StringSERVICE_UNIT_NAME_DESCRIPTION
    
public static  StringSERVICE_UNIT_SHUTDOWN_TIME
    
final public static  StringSERVICE_UNIT_SHUTDOWN_TIME_DESCRIPTION
    
public static  StringSERVICE_UNIT_STARTUP_TIME
    
final public static  StringSERVICE_UNIT_STARTUP_TIME_DESCRIPTION
     Average of service unit startup times in ms.
public static  StringSERVICE_UNIT_STOP_TIME
    
final public static  StringSERVICE_UNIT_STOP_TIME_DESCRIPTION
     Average of service unit stop times in ms.
public static  StringSU_STATISTICS_ITEM_DESCRIPTION
    
public static  StringSU_STATISTICS_ITEM_NAME
    

Constructor Summary
 ServiceAssemblyStatistics(String saName, String instanceName)
    

Method Summary
public  CompositeDatagetCompositeData()
    
public  StringgetInstanceName()
    
public  DategetLastShutdownTime()
    
public  DategetLastStartupTime()
    
public  DategetLastStopTime()
    
public  StringgetName()
    
public  ValuegetShutdownTime()
    
public  ValuegetStartupTime()
    
public  ValuegetStopTime()
    
public  voidsetServiceUnitList(Map<String, ServiceUnitStatistics> serviceUnitStats)
    
public  voidupdateShutdownStatistics(Date beginTime, Date endTime, Map<String, Long> suTimes)
    
public  voidupdateStartupStatistics(Date beginTime, Date endTime, Map<String, Long> suTimes)
    
public  voidupdateStopStatistics(Date beginTime, Date endTime, Map<String, Long> suTimes)
    

Field Detail
INSTANCE_NAME
public static String INSTANCE_NAME(Code)
instance name



JBI_INSTANCE_NAME_DESCRIPTION
final public static String JBI_INSTANCE_NAME_DESCRIPTION(Code)
instance name description



SA_STATISTICS_ITEM_DESCRIPTION
public static String SA_STATISTICS_ITEM_DESCRIPTION(Code)
description for SA statistics table item



SA_STATISTICS_ITEM_NAME
public static String SA_STATISTICS_ITEM_NAME(Code)
name for SA statistics table item



SERVICE_ASSEMBLY_LAST_STARTUP_TIME
public static String SERVICE_ASSEMBLY_LAST_STARTUP_TIME(Code)
last startup time



SERVICE_ASSEMBLY_LAST_STARTUP_TIME_DESCRIPTION
final public static String SERVICE_ASSEMBLY_LAST_STARTUP_TIME_DESCRIPTION(Code)
SA startup time description



SERVICE_ASSEMBLY_NAME
public static String SERVICE_ASSEMBLY_NAME(Code)
SA Name



SERVICE_ASSEMBLY_NAME_DESCRIPTION
final public static String SERVICE_ASSEMBLY_NAME_DESCRIPTION(Code)
SA name description



SERVICE_ASSEMBLY_SHUTDOWN_TIME
final public static String SERVICE_ASSEMBLY_SHUTDOWN_TIME(Code)
SA Shutdown time



SERVICE_ASSEMBLY_SHUTDOWN_TIME_DESCTIPTION
final public static String SERVICE_ASSEMBLY_SHUTDOWN_TIME_DESCTIPTION(Code)
SA shutdown time - description



SERVICE_ASSEMBLY_STARTUP_TIME
final public static String SERVICE_ASSEMBLY_STARTUP_TIME(Code)
SA startup time



SERVICE_ASSEMBLY_STARTUP_TIME_DESCRIPTION
final public static String SERVICE_ASSEMBLY_STARTUP_TIME_DESCRIPTION(Code)
SA startup time - description



SERVICE_ASSEMBLY_STOP_TIME
final public static String SERVICE_ASSEMBLY_STOP_TIME(Code)
SA stop time



SERVICE_ASSEMBLY_STOP_TIME_DESCRIPTION
final public static String SERVICE_ASSEMBLY_STOP_TIME_DESCRIPTION(Code)
SA stop time - description



SERVICE_ASSEMBLY_SU_STATISTICS
final public static String SERVICE_ASSEMBLY_SU_STATISTICS(Code)
SA list of SU statistics



SERVICE_ASSEMBLY_SU_STATISTICS_DESCRIPTION
final public static String SERVICE_ASSEMBLY_SU_STATISTICS_DESCRIPTION(Code)
SU statistics list - description



SERVICE_ASSEMBLY_UPTIME
public static String SERVICE_ASSEMBLY_UPTIME(Code)
SA Uptime



SERVICE_ASSEMBLY_UPTIME_DESCRIPTION
final public static String SERVICE_ASSEMBLY_UPTIME_DESCRIPTION(Code)
SA uptime desctiption



SERVICE_UNIT_NAME
public static String SERVICE_UNIT_NAME(Code)
service unit name



SERVICE_UNIT_NAME_DESCRIPTION
final public static String SERVICE_UNIT_NAME_DESCRIPTION(Code)
Service unit name description



SERVICE_UNIT_SHUTDOWN_TIME
public static String SERVICE_UNIT_SHUTDOWN_TIME(Code)
service unit shutdown time



SERVICE_UNIT_SHUTDOWN_TIME_DESCRIPTION
final public static String SERVICE_UNIT_SHUTDOWN_TIME_DESCRIPTION(Code)
Average of service unit shutdown time



SERVICE_UNIT_STARTUP_TIME
public static String SERVICE_UNIT_STARTUP_TIME(Code)
service unit startup time



SERVICE_UNIT_STARTUP_TIME_DESCRIPTION
final public static String SERVICE_UNIT_STARTUP_TIME_DESCRIPTION(Code)
Average of service unit startup times in ms.



SERVICE_UNIT_STOP_TIME
public static String SERVICE_UNIT_STOP_TIME(Code)
service unit stop time



SERVICE_UNIT_STOP_TIME_DESCRIPTION
final public static String SERVICE_UNIT_STOP_TIME_DESCRIPTION(Code)
Average of service unit stop times in ms.



SU_STATISTICS_ITEM_DESCRIPTION
public static String SU_STATISTICS_ITEM_DESCRIPTION(Code)
description for SU statistics table item



SU_STATISTICS_ITEM_NAME
public static String SU_STATISTICS_ITEM_NAME(Code)
name for SU statistics table item




Constructor Detail
ServiceAssemblyStatistics
ServiceAssemblyStatistics(String saName, String instanceName) throws Exception(Code)
constructor




Method Detail
getCompositeData
public CompositeData getCompositeData() throws OpenDataException(Code)
return the stats as composite data



getInstanceName
public String getInstanceName()(Code)
get the instance name String the instance name



getLastShutdownTime
public Date getLastShutdownTime()(Code)
get last shutdown time Date last stop time



getLastStartupTime
public Date getLastStartupTime()(Code)
get last startup time Date last startup time



getLastStopTime
public Date getLastStopTime()(Code)
get last stop time Date last stop time



getName
public String getName()(Code)
get the name of the su



getShutdownTime
public Value getShutdownTime()(Code)
get shutdown times Value shutdown times



getStartupTime
public Value getStartupTime()(Code)
get startup times Value startup times



getStopTime
public Value getStopTime()(Code)
get stop times Value stop times



setServiceUnitList
public void setServiceUnitList(Map<String, ServiceUnitStatistics> serviceUnitStats)(Code)
set the su list
Parameters:
  serviceUnitStats - su stats object list



updateShutdownStatistics
public void updateShutdownStatistics(Date beginTime, Date endTime, Map<String, Long> suTimes)(Code)
this method is used to update the statistics of a SA
Parameters:
  beginTime - time when the shutdown operation was begun
Parameters:
  endTime - time when the shutdown operation finished
Parameters:
  suTimes - map of suNames and their shutdownTimes



updateStartupStatistics
public void updateStartupStatistics(Date beginTime, Date endTime, Map<String, Long> suTimes)(Code)
this method is used to update the statistics of a SA
Parameters:
  beginTime - time when the start operation was begun
Parameters:
  endTime - time when the start operation finished
Parameters:
  suTimes - map of suNames and their startupTimes



updateStopStatistics
public void updateStopStatistics(Date beginTime, Date endTime, Map<String, Long> suTimes)(Code)
this method is used to update the statistics of a SA
Parameters:
  beginTime - time when the stop operation was begun
Parameters:
  endTime - time when the stop operation finished
Parameters:
  suTimes - map of suNames and their stopTimes



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.