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


java.lang.Object
   com.sun.esb.management.base.services.AbstractServiceImpl
      com.sun.esb.management.impl.performance.PerformanceMeasurementServiceImpl

PerformanceMeasurementServiceImpl
public class PerformanceMeasurementServiceImpl extends AbstractServiceImpl implements Serializable,PerformanceMeasurementService(Code)
Defines client operations to measure performance statistics. e.g., time taken to normalize/denormalize, encode/decode, wire-to-NMR on the endpoints, etc.
author:
   graj


Field Summary
final static  longserialVersionUID
    

Constructor Summary
public  PerformanceMeasurementServiceImpl()
    
public  PerformanceMeasurementServiceImpl(MBeanServerConnection serverConnection)
    
public  PerformanceMeasurementServiceImpl(MBeanServerConnection serverConnection, boolean isRemoteConnection)
    

Method Summary
public  voidclearPeformaceInstrumentationMeasurement(String componentName, String endpoint, String targetName, String targetInstanceName)
     Resets the performance measurements on the endpoint.
public  voiddisableMessageExchangeMonitoring(String targetName)
    
public  voidenableMessageExchangeMonitoring(String targetName)
    
public  StringgetComponentStatistics(String componentName, String targetName)
    
public  TabularDatagetComponentStatisticsAsTabularData(String componentName, String targetName)
     This method is used to provide statistics for the given component in the given target
Parameters:
  targetName - target name
Parameters:
  componentName - component name TabularData table of component statisticsIf the target is a standalone instance the table will have one entry.
public  TabularDatagetConsumingEndpointsForComponentAsTabularData(String componentName, String targetName)
     This method is used to provide a list of consuming endpoints for a component.
Parameters:
  componentName - component name
Parameters:
  target - target name.
public  StringgetEndpointStatistics(String endpointName, String targetName)
    
public  TabularDatagetEndpointStatisticsAsTabularData(String endpointName, String targetName)
    
public  StringgetFrameworkStatistics(String targetName)
     This method is used to provide JBIFramework statistics in the given target.
Parameters:
  target - target name.
public  TabularDatagetFrameworkStatisticsAsTabularData(String targetName)
     This method is used to provide JBIFramework statistics in the given target.
Parameters:
  target - target name.
public  StringgetNMRStatistics(String targetName)
     This method is used to provide statistics about the message service in the given target.
Parameters:
  target - target name.
public  TabularDatagetNMRStatisticsAsTabularData(String targetName)
     This method is used to provide statistics about the message service in the given target.
Parameters:
  target - target name.
public  booleangetPerformanceInstrumentationEnabled(String componentName, String targetName, String targetInstanceName)
     Retrieves the performance measurement enabling flag.
public  StringgetPerformanceInstrumentationMeasurement(String componentName, String endpoint, String targetName, String targetInstanceName)
     Retrieves the performance measurement data for the specified endpoint.
public  String[]getPerformanceMeasurementCategories(String componentName, String targetName, String targetInstanceName)
     Retrieves the performance statistics categories.
public  TabularDatagetProvidingEndpointsForComponentAsTabularData(String componentName, String targetName)
     This method is used to provide a list of provisioning endpoints for a component.
Parameters:
  componentName - component name
Parameters:
  target - target name.
public  StringgetServiceAssemblyStatistics(String assemblyName, String targetName)
     This method is used to provide statistics about a Service Assembly in the given target.
Parameters:
  target - target name.
Parameters:
  assemblyName - the service assembly name.
public  TabularDatagetServiceAssemblyStatisticsAsTabularData(String componentName, String targetName)
     This method is used to provide statistics about a Service Assembly in the given target.
Parameters:
  target - target name.
Parameters:
  assemblyName - the service assembly name.
public static  voidmain(String[] args)
    
public  voidsetPerformanceInstrumentationEnabled(String componentName, boolean flag, String targetName, String targetInstanceName)
     Sets the performance measurement enabling flag.

Field Detail
serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
PerformanceMeasurementServiceImpl
public PerformanceMeasurementServiceImpl()(Code)
Constructor - Constructs a new instance of PerformanceMeasurementServiceImpl



PerformanceMeasurementServiceImpl
public PerformanceMeasurementServiceImpl(MBeanServerConnection serverConnection)(Code)
Constructor - Constructs a new instance of PerformanceMeasurementServiceImpl
Parameters:
  serverConnection -



PerformanceMeasurementServiceImpl
public PerformanceMeasurementServiceImpl(MBeanServerConnection serverConnection, boolean isRemoteConnection)(Code)
Constructor - Constructs a new instance of PerformanceMeasurementServiceImpl
Parameters:
  serverConnection -
Parameters:
  isRemoteConnection -




Method Detail
clearPeformaceInstrumentationMeasurement
public void clearPeformaceInstrumentationMeasurement(String componentName, String endpoint, String targetName, String targetInstanceName) throws ManagementRemoteException(Code)
Resets the performance measurements on the endpoint.
Parameters:
  componentName -
Parameters:
  endpoint -
Parameters:
  targetName -
Parameters:
  targetInstanceName -
throws:
  ManagementRemoteException -
See Also:   com.sun.esb.management.api.performance.PerformanceMeasurementService.clearPeformaceInstrumentationMeasurement(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



disableMessageExchangeMonitoring
public void disableMessageExchangeMonitoring(String targetName) throws ManagementRemoteException(Code)
This method is used to disable monitoring of timing information about message exchanges
Parameters:
  targetName - the target name



enableMessageExchangeMonitoring
public void enableMessageExchangeMonitoring(String targetName) throws ManagementRemoteException(Code)
This method is used to enable monitoring of timing information about message exchanges
Parameters:
  targetName - the target name



getComponentStatistics
public String getComponentStatistics(String componentName, String targetName) throws ManagementRemoteException(Code)
This method is used to provide statistics for the given component in the given target
Parameters:
  targetName - target name
Parameters:
  componentName - component name String table of component statisticsIf the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean



getComponentStatisticsAsTabularData
public TabularData getComponentStatisticsAsTabularData(String componentName, String targetName) throws ManagementRemoteException(Code)
This method is used to provide statistics for the given component in the given target
Parameters:
  targetName - target name
Parameters:
  componentName - component name TabularData table of component statisticsIf the target is a standalone instance the table will have one entry. Ifthe target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean



getConsumingEndpointsForComponentAsTabularData
public TabularData getConsumingEndpointsForComponentAsTabularData(String componentName, String targetName) throws ManagementRemoteException(Code)
This method is used to provide a list of consuming endpoints for a component.
Parameters:
  componentName - component name
Parameters:
  target - target name. TabularData list of consuming endpoints If the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.Each entry in this tabular data is of the following composite typeString - "InstanceName",String[] - "Endpoints",



getEndpointStatistics
public String getEndpointStatistics(String endpointName, String targetName) throws ManagementRemoteException(Code)
This method is used to provide statistic information about the given endpoint in the given target
Parameters:
  targetName - target name
Parameters:
  endpointName - the endpoint Name String table of endpoint statisticsIf the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean



getEndpointStatisticsAsTabularData
public TabularData getEndpointStatisticsAsTabularData(String endpointName, String targetName) throws ManagementRemoteException(Code)
This method is used to provide statistic information about the given endpoint in the given target
Parameters:
  targetName - target name
Parameters:
  endpointName - the endpoint Name TabularData table of endpoint statisticsIf the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean



getFrameworkStatistics
public String getFrameworkStatistics(String targetName) throws ManagementRemoteException(Code)
This method is used to provide JBIFramework statistics in the given target.
Parameters:
  target - target name. String table of framework statistics in the given target.If the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean



getFrameworkStatisticsAsTabularData
public TabularData getFrameworkStatisticsAsTabularData(String targetName) throws ManagementRemoteException(Code)
This method is used to provide JBIFramework statistics in the given target.
Parameters:
  target - target name. TabularData table of framework statistics in the given target.If the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean



getNMRStatistics
public String getNMRStatistics(String targetName) throws ManagementRemoteException(Code)
This method is used to provide statistics about the message service in the given target.
Parameters:
  target - target name. String table of NMR statistics in the given target.If the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean



getNMRStatisticsAsTabularData
public TabularData getNMRStatisticsAsTabularData(String targetName) throws ManagementRemoteException(Code)
This method is used to provide statistics about the message service in the given target.
Parameters:
  target - target name. TabularData table of NMR statistics in the given target.If the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean



getPerformanceInstrumentationEnabled
public boolean getPerformanceInstrumentationEnabled(String componentName, String targetName, String targetInstanceName) throws ManagementRemoteException(Code)
Retrieves the performance measurement enabling flag.
Parameters:
  componentName -
Parameters:
  targetName -
Parameters:
  targetInstanceName - true if measurement enabled, false if not
throws:
  ManagementRemoteException -
See Also:   com.sun.esb.management.api.performance.PerformanceMeasurementService.getPerformanceInstrumentationEnabled(java.lang.Stringjava.lang.Stringjava.lang.String)



getPerformanceInstrumentationMeasurement
public String getPerformanceInstrumentationMeasurement(String componentName, String endpoint, String targetName, String targetInstanceName) throws ManagementRemoteException(Code)
Retrieves the performance measurement data for the specified endpoint.
Parameters:
  componentName -
Parameters:
  endpoint -
Parameters:
  targetName -
Parameters:
  targetInstanceName - XML String representing PerformanceData Map
throws:
  ManagementRemoteException -
See Also:   com.sun.esb.management.api.performance.PerformanceMeasurementService.getPerformanceInstrumentationMeasurement(java.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.String)



getPerformanceMeasurementCategories
public String[] getPerformanceMeasurementCategories(String componentName, String targetName, String targetInstanceName) throws ManagementRemoteException(Code)
Retrieves the performance statistics categories. Each item in the array is the key to the composite performance data, which also indicates the type (e.g. normalization) of measurement.
Parameters:
  componentName -
Parameters:
  targetName -
Parameters:
  targetInstanceName - array of performance measurement categories
throws:
  ManagementRemoteException -
See Also:   com.sun.esb.management.api.performance.PerformanceMeasurementService.getPerformanceMeasurementCategories(java.lang.Stringjava.lang.Stringjava.lang.String)



getProvidingEndpointsForComponentAsTabularData
public TabularData getProvidingEndpointsForComponentAsTabularData(String componentName, String targetName) throws ManagementRemoteException(Code)
This method is used to provide a list of provisioning endpoints for a component.
Parameters:
  componentName - component name
Parameters:
  target - target name. TabularData list of provisioning endpoints If the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.Each entry in this tabular data is of the following composite typeString - "InstanceName",String[] - "Endpoints",



getServiceAssemblyStatistics
public String getServiceAssemblyStatistics(String assemblyName, String targetName) throws ManagementRemoteException(Code)
This method is used to provide statistics about a Service Assembly in the given target.
Parameters:
  target - target name.
Parameters:
  assemblyName - the service assembly name. String table of NMR statistics in the given target.If the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean



getServiceAssemblyStatisticsAsTabularData
public TabularData getServiceAssemblyStatisticsAsTabularData(String componentName, String targetName) throws ManagementRemoteException(Code)
This method is used to provide statistics about a Service Assembly in the given target.
Parameters:
  target - target name.
Parameters:
  assemblyName - the service assembly name. TabularData table of NMR statistics in the given target.If the target is a standalone instance the table will have one entry.If the target is a cluster the table will have an entry for each instance.For more information about the type of the entries in table please referto JBIStatisticsMBean



main
public static void main(String[] args)(Code)

Parameters:
  args -



setPerformanceInstrumentationEnabled
public void setPerformanceInstrumentationEnabled(String componentName, boolean flag, String targetName, String targetInstanceName) throws ManagementRemoteException(Code)
Sets the performance measurement enabling flag.
Parameters:
  componentName -
Parameters:
  flag -
Parameters:
  targetName -
Parameters:
  targetInstanceName -
throws:
  ManagementRemoteException -
See Also:   com.sun.esb.management.api.performance.PerformanceMeasurementService.setPerformanceInstrumentationEnabled(java.lang.Stringbooleanjava.lang.Stringjava.lang.String)



Fields inherited from com.sun.esb.management.base.services.AbstractServiceImpl
protected static String CANNED_RESPONSE(Code)(Java Doc)
protected static I18NBundle I18NBUNDLE(Code)(Java Doc)
protected boolean isRemoteConnection(Code)(Java Doc)
protected transient MBeanServerConnection remoteConnection(Code)(Java Doc)

Methods inherited from com.sun.esb.management.base.services.AbstractServiceImpl
protected ObjectName getAdministrationServiceMBeanObjectName() throws ManagementRemoteException(Code)(Java Doc)
protected ObjectName getConfigurationServiceMBeanObjectName() throws ManagementRemoteException(Code)(Java Doc)
protected ObjectName getDeploymentServiceMBeanObjectName() throws ManagementRemoteException(Code)(Java Doc)
protected I18NBundle getI18NBundle()(Code)(Java Doc)
protected ObjectName getInstallationServiceMBeanObjectName() throws ManagementRemoteException(Code)(Java Doc)
protected MBeanServerConnection getMBeanServerConnection() throws IllegalStateException(Code)(Java Doc)
protected ObjectName getNotificationServiceMBeanObjectName() throws ManagementRemoteException(Code)(Java Doc)
protected ObjectName getPerformanceMeasurementServiceMBeanObjectName() throws ManagementRemoteException(Code)(Java Doc)
protected ObjectName getRuntimeManagementServiceMBeanObjectName() throws ManagementRemoteException(Code)(Java Doc)
protected Object invokeMBeanOperation(ObjectName objectName, String operationName, Object[] params, String[] signature) throws ManagementRemoteException(Code)(Java Doc)
protected Object invokeMBeanOperation(ObjectName objectName, String operationName, String param) throws ManagementRemoteException(Code)(Java Doc)
protected boolean isRegistered(ObjectName objectName)(Code)(Java Doc)
protected boolean isRemoteConnection()(Code)(Java Doc)
protected Map<String /*targetName*/, String[] listTargetNames() throws ManagementRemoteException(Code)(Java Doc)
protected Set<ObjectName> queryNames(String pattern, QueryExp query) throws ManagementRemoteException(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.