public class PerformanceMeasurementServiceImpl extends AbstractServiceImpl implements Serializable, PerformanceMeasurementService
CANNED_RESPONSE, I18NBUNDLE, isRemoteConnection, remoteConnection| Constructor and Description |
|---|
PerformanceMeasurementServiceImpl()
Constructor - Constructs a new instance of PerformanceMeasurementServiceImpl
|
PerformanceMeasurementServiceImpl(MBeanServerConnection serverConnection)
Constructor - Constructs a new instance of PerformanceMeasurementServiceImpl
|
PerformanceMeasurementServiceImpl(MBeanServerConnection serverConnection,
boolean isRemoteConnection)
Constructor - Constructs a new instance of PerformanceMeasurementServiceImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearPeformaceInstrumentationMeasurement(String componentName,
String endpoint,
String targetName,
String targetInstanceName)
Resets the performance measurements on the endpoint.
|
void |
disableMessageExchangeMonitoring(String targetName)
This method is used to disable monitoring of timing
information about message exchanges
|
void |
enableMessageExchangeMonitoring(String targetName)
This method is used to enable monitoring of timing
information about message exchanges
|
String |
getComponentStatistics(String componentName,
String targetName)
This method is used to provide statistics for the given component
in the given target
|
TabularData |
getComponentStatisticsAsTabularData(String componentName,
String targetName)
This method is used to provide statistics for the given component in the
given target
|
TabularData |
getConsumingEndpointsForComponentAsTabularData(String componentName,
String targetName)
This method is used to provide a list of consuming endpoints for a component.
|
String |
getEndpointStatistics(String endpointName,
String targetName)
This method is used to provide statistic information about the given
endpoint in the given target
|
TabularData |
getEndpointStatisticsAsTabularData(String endpointName,
String targetName)
This method is used to provide statistic information about the given
endpoint in the given target
|
String |
getFrameworkStatistics(String targetName)
This method is used to provide JBIFramework statistics in the
given target.
|
TabularData |
getFrameworkStatisticsAsTabularData(String targetName)
This method is used to provide JBIFramework statistics in the
given target.
|
String |
getNMRStatistics(String targetName)
This method is used to provide statistics about the message service in the
given target.
|
TabularData |
getNMRStatisticsAsTabularData(String targetName)
This method is used to provide statistics about the message service in the
given target.
|
boolean |
getPerformanceInstrumentationEnabled(String componentName,
String targetName,
String targetInstanceName)
Retrieves the performance measurement enabling flag.
|
String |
getPerformanceInstrumentationMeasurement(String componentName,
String endpoint,
String targetName,
String targetInstanceName)
Retrieves the performance measurement data for the specified endpoint.
|
String[] |
getPerformanceMeasurementCategories(String componentName,
String targetName,
String targetInstanceName)
Retrieves the performance statistics categories.
|
TabularData |
getProvidingEndpointsForComponentAsTabularData(String componentName,
String targetName)
This method is used to provide a list of provisioning endpoints for a component.
|
String |
getServiceAssemblyStatistics(String assemblyName,
String targetName)
This method is used to provide statistics about a Service Assembly
in the given target.
|
TabularData |
getServiceAssemblyStatisticsAsTabularData(String componentName,
String targetName)
This method is used to provide statistics about a Service Assembly
in the given target.
|
static void |
main(String[] args) |
void |
setPerformanceInstrumentationEnabled(String componentName,
boolean flag,
String targetName,
String targetInstanceName)
Sets the performance measurement enabling flag.
|
getAdministrationServiceMBeanObjectName, getConfigurationServiceMBeanObjectName, getDeploymentServiceMBeanObjectName, getI18NBundle, getInstallationServiceMBeanObjectName, getMBeanServerConnection, getNotificationServiceMBeanObjectName, getPerformanceMeasurementServiceMBeanObjectName, getRuntimeManagementServiceMBeanObjectName, invokeMBeanOperation, invokeMBeanOperation, isRegistered, isRemoteConnection, listTargetNames, queryNamespublic PerformanceMeasurementServiceImpl()
public PerformanceMeasurementServiceImpl(MBeanServerConnection serverConnection)
serverConnection - public PerformanceMeasurementServiceImpl(MBeanServerConnection serverConnection, boolean isRemoteConnection)
serverConnection - isRemoteConnection - public void clearPeformaceInstrumentationMeasurement(String componentName, String endpoint, String targetName, String targetInstanceName) throws ManagementRemoteException
clearPeformaceInstrumentationMeasurement in interface PerformanceMeasurementServicecomponentName - endpoint - targetName - targetInstanceName - ManagementRemoteExceptionPerformanceMeasurementService.clearPeformaceInstrumentationMeasurement(java.lang.String, java.lang.String, java.lang.String, java.lang.String)public boolean getPerformanceInstrumentationEnabled(String componentName, String targetName, String targetInstanceName) throws ManagementRemoteException
getPerformanceInstrumentationEnabled in interface PerformanceMeasurementServicecomponentName - targetName - targetInstanceName - ManagementRemoteExceptionPerformanceMeasurementService.getPerformanceInstrumentationEnabled(java.lang.String, java.lang.String, java.lang.String)public String getPerformanceInstrumentationMeasurement(String componentName, String endpoint, String targetName, String targetInstanceName) throws ManagementRemoteException
getPerformanceInstrumentationMeasurement in interface PerformanceMeasurementServicecomponentName - endpoint - targetName - targetInstanceName - ManagementRemoteExceptionPerformanceMeasurementService.getPerformanceInstrumentationMeasurement(java.lang.String, java.lang.String, java.lang.String, java.lang.String)public String[] getPerformanceMeasurementCategories(String componentName, String targetName, String targetInstanceName) throws ManagementRemoteException
getPerformanceMeasurementCategories in interface PerformanceMeasurementServicecomponentName - targetName - targetInstanceName - ManagementRemoteExceptionPerformanceMeasurementService.getPerformanceMeasurementCategories(java.lang.String, java.lang.String, java.lang.String)public void setPerformanceInstrumentationEnabled(String componentName, boolean flag, String targetName, String targetInstanceName) throws ManagementRemoteException
setPerformanceInstrumentationEnabled in interface PerformanceMeasurementServicecomponentName - flag - targetName - targetInstanceName - ManagementRemoteExceptionPerformanceMeasurementService.setPerformanceInstrumentationEnabled(java.lang.String, boolean, java.lang.String, java.lang.String)public String getFrameworkStatistics(String targetName) throws ManagementRemoteException
getFrameworkStatistics in interface PerformanceMeasurementServicetarget - target name.JBIStatisticsMBeanManagementRemoteExceptionpublic TabularData getFrameworkStatisticsAsTabularData(String targetName) throws ManagementRemoteException
getFrameworkStatisticsAsTabularData in interface PerformanceMeasurementServicetarget - target name.JBIStatisticsMBeanManagementRemoteExceptionpublic String getComponentStatistics(String componentName, String targetName) throws ManagementRemoteException
getComponentStatistics in interface PerformanceMeasurementServicetargetName - target namecomponentName - component nameJBIStatisticsMBeanManagementRemoteExceptionpublic TabularData getComponentStatisticsAsTabularData(String componentName, String targetName) throws ManagementRemoteException
getComponentStatisticsAsTabularData in interface PerformanceMeasurementServicetargetName - target namecomponentName - component nameJBIStatisticsMBeanManagementRemoteExceptionpublic String getEndpointStatistics(String endpointName, String targetName) throws ManagementRemoteException
getEndpointStatistics in interface PerformanceMeasurementServicetargetName - target nameendpointName - the endpoint NameJBIStatisticsMBeanManagementRemoteExceptionpublic TabularData getEndpointStatisticsAsTabularData(String endpointName, String targetName) throws ManagementRemoteException
getEndpointStatisticsAsTabularData in interface PerformanceMeasurementServicetargetName - target nameendpointName - the endpoint NameJBIStatisticsMBeanManagementRemoteExceptionpublic String getNMRStatistics(String targetName) throws ManagementRemoteException
getNMRStatistics in interface PerformanceMeasurementServicetarget - target name.JBIStatisticsMBeanManagementRemoteExceptionpublic TabularData getNMRStatisticsAsTabularData(String targetName) throws ManagementRemoteException
getNMRStatisticsAsTabularData in interface PerformanceMeasurementServicetarget - target name.JBIStatisticsMBeanManagementRemoteExceptionpublic String getServiceAssemblyStatistics(String assemblyName, String targetName) throws ManagementRemoteException
getServiceAssemblyStatistics in interface PerformanceMeasurementServicetarget - target name.assemblyName - the service assembly name.JBIStatisticsMBeanManagementRemoteExceptionpublic TabularData getServiceAssemblyStatisticsAsTabularData(String componentName, String targetName) throws ManagementRemoteException
getServiceAssemblyStatisticsAsTabularData in interface PerformanceMeasurementServicetarget - target name.assemblyName - the service assembly name.JBIStatisticsMBeanManagementRemoteExceptionpublic TabularData getConsumingEndpointsForComponentAsTabularData(String componentName, String targetName) throws ManagementRemoteException
getConsumingEndpointsForComponentAsTabularData in interface PerformanceMeasurementServicecomponentName - component nametarget - target name.ManagementRemoteExceptionpublic TabularData getProvidingEndpointsForComponentAsTabularData(String componentName, String targetName) throws ManagementRemoteException
getProvidingEndpointsForComponentAsTabularData in interface PerformanceMeasurementServicecomponentName - component nametarget - target name.ManagementRemoteExceptionpublic void enableMessageExchangeMonitoring(String targetName) throws ManagementRemoteException
enableMessageExchangeMonitoring in interface PerformanceMeasurementServicetargetName - the target nameManagementRemoteExceptionpublic void disableMessageExchangeMonitoring(String targetName) throws ManagementRemoteException
disableMessageExchangeMonitoring in interface PerformanceMeasurementServicetargetName - the target nameManagementRemoteExceptionpublic static void main(String[] args)
args - Copyright © 2011-2016 OpenESB Community. All Rights Reserved.