| java.lang.Object com.sun.jbi.ui.runtime.mbeans.AbstractUIMBeanImpl com.sun.jbi.ui.runtime.mbeans.JBIStatisticsMBeanImpl
JBIStatisticsMBeanImpl | public class JBIStatisticsMBeanImpl extends AbstractUIMBeanImpl implements JBIStatisticsMBean(Code) | | This class is used to provide JBI statistics statisticsinformation to clients.
author: Sun Microsystems, Inc. |
AVERAGEWITHOUTFIRSTMEASUREMENT_KEY | final public static String AVERAGEWITHOUTFIRSTMEASUREMENT_KEY(Code) | | average' (ms) (the sum of all dt-s minus the first dt) divided by N. The
first measurement is discounted because it typically includes
classloading times and distorts the results considerably. If there's only
one measurement, the first measurement is not discounted and the value
should be equal to total time.
|
AVERAGE_KEY | final public static String AVERAGE_KEY(Code) | | average sum of all dt-s divided by N; this does not discount the first
measurement
|
COMPONENT_ACTIVE_ENDPOINTS | static String COMPONENT_ACTIVE_ENDPOINTS(Code) | | item name for active endpoints in component statistics data
|
COMPONENT_ACTIVE_EXCHANGE | static String COMPONENT_ACTIVE_EXCHANGE(Code) | | item name for number of active exchangesin component statistics data
|
COMPONENT_CHANNEL_TIME | static String COMPONENT_CHANNEL_TIME(Code) | | item name for channel time in component statistics data
|
COMPONENT_COMPONENT_TIME | static String COMPONENT_COMPONENT_TIME(Code) | | item name for component time in component statistics data
|
COMPONENT_LAST_RESTART_TIME_ATTR | static String COMPONENT_LAST_RESTART_TIME_ATTR(Code) | | attr. name for last restart time in
component statistics mbean
|
COMPONENT_NMR_TIME | static String COMPONENT_NMR_TIME(Code) | | item name for nmr time in component statistics data
|
COMPONENT_RECEIVE_DONE | static String COMPONENT_RECEIVE_DONE(Code) | | item name for number of received DONEs in component statistics data
|
COMPONENT_RECEIVE_ERROR | static String COMPONENT_RECEIVE_ERROR(Code) | | item name for number of received errors in component statistics data
|
COMPONENT_RECEIVE_FAULT | static String COMPONENT_RECEIVE_FAULT(Code) | | item name for number of received faults in component statistics data
|
COMPONENT_RECEIVE_REPLY | static String COMPONENT_RECEIVE_REPLY(Code) | | item name for number of received replies in component statistics data
|
COMPONENT_RECEIVE_REQUEST | static String COMPONENT_RECEIVE_REQUEST(Code) | | item name for number of received requests in component statistics data
|
COMPONENT_RESPONSE_TIME | static String COMPONENT_RESPONSE_TIME(Code) | | item name for response time in component statistics data
|
COMPONENT_SEND_DONE | static String COMPONENT_SEND_DONE(Code) | | item name for number of sent DONEs requests in component statistics data
|
COMPONENT_SEND_ERROR | static String COMPONENT_SEND_ERROR(Code) | | item name for number of sent errors in component statistics data
|
COMPONENT_SEND_FAULT | static String COMPONENT_SEND_FAULT(Code) | | item name for number of sent faults in component statistics data
|
COMPONENT_SEND_REPLY | static String COMPONENT_SEND_REPLY(Code) | | item name for number of sent replies in component statistics data
|
COMPONENT_SEND_REQUEST | static String COMPONENT_SEND_REQUEST(Code) | | item name for number of sent requests in component statistics data
|
CONSUMER_MARKER | static String CONSUMER_MARKER(Code) | | ojc components specific marker for consuming endpoints
|
CONSUMER_STATUS_TIME | static String CONSUMER_STATUS_TIME(Code) | | item name for status time in endpoint statistics data
|
ENDPOINT_LIST_STATS_ITEM_DESCRIPTIONS | static String[] ENDPOINT_LIST_STATS_ITEM_DESCRIPTIONS(Code) | | descriptions of items in the composite data for endpoints list
|
ENDPOINT_LIST_STATS_ITEM_NAMES | static String[] ENDPOINT_LIST_STATS_ITEM_NAMES(Code) | | names of items in the composite data for endpoints list
|
ENDPOINT_STATS_CONSUMER_ITEM_NAMES | static String[] ENDPOINT_STATS_CONSUMER_ITEM_NAMES(Code) | | endpoint stats items - consumer specific
used to find out if the endpoint is a consumer
|
ENDPOINT_STATS_PROVIDER_ITEM_NAMES | static String[] ENDPOINT_STATS_PROVIDER_ITEM_NAMES(Code) | | endpoint stats items - provider specific
used to find out if the endpoint is a provider
|
FIRSTMEASUREMENTTIME_KEY | final public static String FIRSTMEASUREMENTTIME_KEY(Code) | | first the first dt
|
FRAMEWORK_MBEAN_LAST_RESTART_TIME_ATTR | static String FRAMEWORK_MBEAN_LAST_RESTART_TIME_ATTR(Code) | | attr. name for last restart time in framework stats, mbean
|
FRAMEWORK_MBEAN_STARTUP_TIME_ATTR | static String FRAMEWORK_MBEAN_STARTUP_TIME_ATTR(Code) | | attr. name for startup time in framework stats. mbean
|
FRAMEWORK_STATS_ITEM_DESCRIPTIONS | static String[] FRAMEWORK_STATS_ITEM_DESCRIPTIONS(Code) | | FrameworkStats CompositeType item descriptions
|
FRAMEWORK_STATS_ITEM_NAMES | static String[] FRAMEWORK_STATS_ITEM_NAMES(Code) | | FrameworkStats CompositeType item names
|
FRAMEWORK_STATS_ITEM_TYPES | static OpenType[] FRAMEWORK_STATS_ITEM_TYPES(Code) | | FrameworkStats CompositeType item types
|
JAVATYPE_TO_OPENTYPE | static Map<String, OpenType> JAVATYPE_TO_OPENTYPE(Code) | | map used to convery a java type to OpenType
|
LOAD_KEY | final public static String LOAD_KEY(Code) | | Load The sum of all dt-s divided by (tlast - tfirst). This is a measure
of concurrency: the higher the number, the greater the concurrency. In a
single threaded scenario this number can never exceed 1.
|
NMR_MBEAN_ACTIVE_CHANNELS_ATTR | static String NMR_MBEAN_ACTIVE_CHANNELS_ATTR(Code) | | attr. name for active channels in NMR stats MBean.
|
NMR_MBEAN_ACTIVE_ENDPOINTS_ATTR | static String NMR_MBEAN_ACTIVE_ENDPOINTS_ATTR(Code) | | attr. name for active endpoints in NMR stats MBean.
|
NMR_STATS_ITEM_DESCRIPTIONS | static String[] NMR_STATS_ITEM_DESCRIPTIONS(Code) | | nmr CompositeType item descriptions
|
NMR_STATS_ITEM_NAMES | static String[] NMR_STATS_ITEM_NAMES(Code) | | nmr CompositeType item names
|
NUMBEROFMEASUREMENTOBJECTS_KEY | final public static String NUMBEROFMEASUREMENTOBJECTS_KEY(Code) | | act the number of measurement objects on which begin() was called but not
end(). This indicates the number of active measurements. Caveat: there's
a problem in the this accounting when the subtopic of the measurement is
changed.
|
NUMBEROFMEASUREMENTS_KEY | final public static String NUMBEROFMEASUREMENTS_KEY(Code) | | Number of measurements (or N), i.e. the number of dt-s, i.e. the number
of times that Measurement.begin() - end() was called.
|
OJC_HULP_STATS_DESCRIPTIONS | static String[] OJC_HULP_STATS_DESCRIPTIONS(Code) | | OJC components hulp stats item descriptions
|
OJC_HULP_STATS_ITEMS | static String[] OJC_HULP_STATS_ITEMS(Code) | | OJC components hulp stats
|
OJC_HULP_STATS_TYPES | static OpenType[] OJC_HULP_STATS_TYPES(Code) | | OJC components hulp stats item types
|
OJC_STATS_TABLE_INDEX | static String[] OJC_STATS_TABLE_INDEX(Code) | | table index for OJC perf stats
|
OWNING_COMPONENT | static String OWNING_COMPONENT(Code) | | item name for owning component in endpoint statistics data
|
PROVIDER_ACTIVATION_TIMESTAMP | static String PROVIDER_ACTIVATION_TIMESTAMP(Code) | | item name for activation time stamp in endpoint statistics data
|
PROVIDER_MARKER | static String PROVIDER_MARKER(Code) | | ojc components specific marker for provisioning endpoints
|
QUERY_CONSUMING_ENDPOINT_LIST | static String QUERY_CONSUMING_ENDPOINT_LIST(Code) | | method name in message service statistics MBean to query for endpoints in a
delivery channel
|
QUERY_ENDPOINT_LIST | static String QUERY_ENDPOINT_LIST(Code) | | method name in message service statistics MBean to query for endpoints in a
delivery channel
|
SERVICE_TYPE_KEY | public static String SERVICE_TYPE_KEY(Code) | | statistics service type
|
STATS_TABLE_INDEX | static String[] STATS_TABLE_INDEX(Code) | | table index for OJC hulp statistics
|
SUB_TOPIC_KEY | final public static String SUB_TOPIC_KEY(Code) | | sub topic the name of the measurement specified in the second argument of
begin() or in setSubTopic().
|
THROUGHPUT_KEY | final public static String THROUGHPUT_KEY(Code) | | throughput N divided by (tlast - tfirst); this is the average throughput.
This number is meaningful if there were no long pauses in processing.
|
TIMETAKEN_KEY | final public static String TIMETAKEN_KEY(Code) | | tlast - tfirst the wallclock time of the first measurement's begin()
method is tracked as tfirst and the wallclock time of the last
measurement's end() method is tracked as tlast
|
TOPIC_KEY | final public static String TOPIC_KEY(Code) | | topic the name of the measurement specified in the first argument of
begin() or in setSubTopic().
|
TOTALTIME_KEY | final public static String TOTALTIME_KEY(Code) | | total time (ms) the sum of all dt-s
|
getComponentStats | public TabularData getComponentStats(String componentName, String targetName) throws JBIRemoteException(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.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 |
getConsumingEndpointsForComponent | public TabularData getConsumingEndpointsForComponent(String componentName, String targetName) throws JBIRemoteException(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 throws: JBIRemoteException - if the list of endpoints could not be obtained.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 |
getEndpointListForComponent | public TabularData getEndpointListForComponent(String componentName, String targetName, boolean listConsuming) throws JBIRemoteException(Code) | | This method is used to provide a list of consuming endpoints for a component.
Parameters: componentName - component name Parameters: target - target name. Parameters: listConsuming - true if you need a list of consuming endpoints 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.For more information about the type of the entries in table please referto JBIStatisticsMBean |
getEndpointStats | public TabularData getEndpointStats(String endpointName, String targetName) throws JBIRemoteException(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 |
getFrameworkStats | public TabularData getFrameworkStats(String targetName) throws JBIRemoteException(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 |
getNMRStats | public TabularData getNMRStats(String targetName) throws JBIRemoteException(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 |
getProvidingEndpointsForComponent | public TabularData getProvidingEndpointsForComponent(String componentName, String targetName) throws JBIRemoteException(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 throws: JBIRemoteException - if the list of endpoints could not be obtained.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 |
getServiceAssemblyStats | public TabularData getServiceAssemblyStats(String saName, String targetName) throws JBIRemoteException(Code) | | This method is used to provide statistics about a Service Assembly
in the given target.
Parameters: target - target name. Parameters: saName - 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 |
Methods inherited from com.sun.jbi.ui.runtime.mbeans.AbstractUIMBeanImpl | protected AttributeList constructMBeanAttributes(ObjectName objectName, Properties params) throws JBIRemoteException(Code)(Java Doc) protected AttributeList constructMBeanAttributes(MBeanServerConnection mbeanServer, ObjectName objectName, Properties params) throws JBIRemoteException(Code)(Java Doc) String convertToEnvironmentVariableString(Object valueObject)(Code)(Java Doc) TabularData createEnvironmentVariableTabularStructure() throws OpenDataException(Code)(Java Doc) Exception createManagementException(String bundleKey, String[] args, Exception sourceException)(Code)(Java Doc) String createManagementMessage(String taskId, boolean successResult, String msgType, String msgCode, Object[] args)(Code)(Java Doc) public ObjectName findDeployerMBean(String componentName) throws JBIRemoteException(Code)(Java Doc) public ObjectName getAdminServiceMBeanObjectName() throws JBIRemoteException(Code)(Java Doc) protected AdministrationService getAdministrationService()(Code)(Java Doc) protected Object getAttributeValue(MBeanServer mbeanServer, ObjectName objectName, String attributeName) throws JBIRemoteException(Code)(Java Doc) protected Object getAttributeValue(ObjectName objectName, String attributeName) throws JBIRemoteException(Code)(Java Doc) String getComponentConfigurationDisplayData(MBeanServer server, ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) String getComponentConfigurationDisplayData(MBeanServerConnection connection, ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) String getComponentConfigurationDisplaySchema(MBeanServer server, ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) String getComponentConfigurationDisplaySchema(MBeanServerConnection connection, ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) List getComponentConfigurationPasswordFields(String xmlDataString, String[] keys) throws JBIRemoteException(Code)(Java Doc) Map<String /* targetInstanceName */, Properties getComponentConfigurationProperties(String componentName, String targetName)(Code)(Java Doc) public ObjectName getComponentLifeCycleMBeanObjectName(String componentName, String targetName) throws JBIRemoteException(Code)(Java Doc) protected String getComponentNameFromJmxObjectName(ObjectName jmxObjectName)(Code)(Java Doc) public Collection getComponentNamesDependentOnServiceAssembly(String saId, String targetName)(Code)(Java Doc) public Collection getComponentNamesDependentOnServiceAssembly(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String saName, String targetName)(Code)(Java Doc) public Collection getComponentNamesDependentOnSharedLibrary(String slibName, String targetName)(Code)(Java Doc) public Collection getComponentNamesDependentOnSharedLibrary(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String slibName, String targetName)(Code)(Java Doc) public Collection getComponentNamesDependentOnSharedLibraryAndServiceAssembly(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String slibName, String saName, String targetName)(Code)(Java Doc) public Set getComponentNamesWithStatus(ComponentType frameworkCompType, ComponentState frameworkCompStatus, String targetName)(Code)(Java Doc) protected Properties getConfigurationAttributeValues(ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) protected Map<String, Descriptor> getConfigurationDescriptors(ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) public ObjectName getConfigurationMBeanObjectName(String targetName, String configurationType) throws JBIRemoteException(Code)(Java Doc) protected ConfigurationService getConfigurationService()(Code)(Java Doc) Properties getDefaultRuntimeConfigurationInternal(String targetName) throws JBIRemoteException(Code)(Java Doc) protected DeploymentService getDeploymentService()(Code)(Java Doc) public ObjectName getDeploymentServiceMBeanObjectName(String targetName)(Code)(Java Doc) protected static EnvironmentContext getEnvironmentContext()(Code)(Java Doc) TabularData getEnvironmentVariables(Map<String, String[]> environmentVariableMap, CompositeType environmentVariableRowType) throws OpenDataException(Code)(Java Doc) public ObjectName getExtensionMBeanObjectName(String componentName, String targetName) throws JBIRemoteException(Code)(Java Doc) public List getFrameworkComponentInfoList(Collection compNameList, String targetName)(Code)(Java Doc) protected List getFrameworkComponentInfoListForEnginesAndBindings(ComponentType frameworkCompType, ComponentState frameworkCompState, String sharedLibraryName, String serviceAssemblyName, String targetName) throws JBIRemoteException(Code)(Java Doc) protected List getFrameworkComponentInfoListForSharedLibraries(String componentName, String targetName) throws JBIRemoteException(Code)(Java Doc) public List getFrameworkComponentInfoListForSharedLibraryNames(Collection slibNameList, String targetName)(Code)(Java Doc) protected ComponentQuery getFrameworkComponentQuery(String targetName)(Code)(Java Doc) protected static I18NBundle getI18NBundle()(Code)(Java Doc) public String getInstallationDescriptor(String componentName, String targetName)(Code)(Java Doc) protected InstallationService getInstallationService()(Code)(Java Doc) public ObjectName getInstallationServiceMBeanObjectName()(Code)(Java Doc) public ObjectName getInstallationServiceMBeanObjectName(String targetName)(Code)(Java Doc) public ObjectName getLoggingServiceMBeanObjectName(String targetName)(Code)(Java Doc) protected Object getMBeanAttribute(ObjectName objectName, String attributeName) throws JBIRemoteException(Code)(Java Doc) protected Properties getMBeanAttributeValues(MBeanServer mbeanServer, ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) protected Properties getMBeanAttributeValues(MBeanServerConnection connection, ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) protected MBeanInfo getMBeanInfo(ObjectName mbeanName) throws JBIRemoteException(Code)(Java Doc) protected PerformanceMeasurementService getPerformanceMeasurementService()(Code)(Java Doc) protected PlatformContext getPlatformContext()(Code)(Java Doc) Properties getRuntimeConfigurationInternal(String targetName) throws JBIRemoteException(Code)(Java Doc) Map<String /* propertyKeyName */, Properties> getRuntimeConfigurationMetadataInternal(String targetName) throws JBIRemoteException(Code)(Java Doc) protected RuntimeManagementService getRuntimeManagementService()(Code)(Java Doc) protected List getServiceAssemblyInfoList(String frameworkState, String componentName, String targetName) throws JBIRemoteException(Code)(Java Doc) public String getSharedLibraryDescriptor(String libraryName, String targetName)(Code)(Java Doc) public ObjectName[] getSystemLoggerMBeans(String instanceName)(Code)(Java Doc) public List getUiComponentInfoList(ComponentType frameworkCompType, String targetName) throws JBIRemoteException(Code)(Java Doc) protected Object invokeMBeanOperation(ObjectName objectName, String operationName, Object[] params, String[] signature) throws JBIRemoteException(Code)(Java Doc) protected Object invokeMBeanOperation(ObjectName objectName, String operationName, String param) throws JBIRemoteException(Code)(Java Doc) protected Object invokeMBeanOperation(ObjectName objectName, String operationName) throws JBIRemoteException(Code)(Java Doc) public boolean isExistingComponent(String componentName, String targetName)(Code)(Java Doc) public boolean isExistingSharedLibrary(String sharedLibraryName, String targetName)(Code)(Java Doc) boolean isMBeanRegistered(ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) public boolean isSharedLibraryArchive(String zipPath)(Code)(Java Doc) boolean isValidTarget(ObjectName objectName) throws JBIRemoteException(Code)(Java Doc) public static void log(String aMsg)(Code)(Java Doc) public static void logDebug(String aMsg)(Code)(Java Doc) public static void logDebug(Exception ex)(Code)(Java Doc) public static void logError(Exception ex)(Code)(Java Doc) public static void logWarning(Exception ex)(Code)(Java Doc) String maskSensitiveString(String sensitiveString, char maskCharacter)(Code)(Java Doc) protected void setAttributeValue(ObjectName objectName, String attributeName, Object attributeValue) throws JBIRemoteException(Code)(Java Doc) Properties setComponentConfigurationProperties(String componentName, Properties configurationValues, String targetName) throws JBIRemoteException(Code)(Java Doc) Map<String, String[]> setEnvironmentVariables(TabularData tabularDataIn) throws InvalidAttributeValueException, OpenDataException, MBeanException(Code)(Java Doc) protected void setMBeanAttribute(ObjectName objectName, String attributeName, Object attributeValue) throws JBIRemoteException(Code)(Java Doc) protected void setMBeanAttributes(ObjectName objectName, AttributeList attrList) throws JBIRemoteException(Code)(Java Doc) protected AttributeList setMBeanAttributes(MBeanServerConnection mbeanServer, ObjectName objectName, AttributeList attrList) throws JBIRemoteException(Code)(Java Doc) protected String setMBeanConfigAttributes(ObjectName objectName, AttributeList attrList) throws JBIRemoteException(Code)(Java Doc) protected String setMBeanConfigAttributes(MBeanServerConnection mbeanServer, ObjectName objectName, AttributeList attrList) throws JBIRemoteException(Code)(Java Doc) boolean setRuntimeConfigurationInternal(Properties properties, String targetName) throws JBIRemoteException(Code)(Java Doc) public static ComponentState toFrameworkComponentInfoState(String uiCompState)(Code)(Java Doc) public static ComponentType toFrameworkComponentInfoType(String uiCompType)(Code)(Java Doc) public static String toFrameworkServiceAssemblyState(String uiState)(Code)(Java Doc) public JBIComponentInfo toUiComponentInfo(ComponentInfo frameworkCompInfo, String targetName) throws JBIRemoteException(Code)(Java Doc) public List toUiComponentInfoList(List frameworkCompList, String targetName) throws JBIRemoteException(Code)(Java Doc) public static String toUiComponentInfoState(ComponentState frameworkCompState)(Code)(Java Doc) public static String toUiComponentInfoType(ComponentType frameworkCompType)(Code)(Java Doc) public static String toUiServiceAssemblyState(String frameworkState)(Code)(Java Doc) public static String toUiServiceUnitState(String frameworkState)(Code)(Java Doc) protected void updateEachServiceUnitInfoStateInServiceAssemblyInfo(ServiceAssemblyInfo saInfo, String targetName) throws JBIRemoteException(Code)(Java Doc) protected void updateServiceAssemblyInfoState(ServiceAssemblyInfo saInfo, String targetName) throws JBIRemoteException(Code)(Java Doc) protected void updateServiceUnitInfoState(ServiceUnitInfo suInfo, ObjectName deploymentServiceMBean)(Code)(Java Doc) public void validateUiJBIComponentInfoState(String state) throws JBIRemoteException(Code)(Java Doc) public void validateUiServiceAssemblyInfoState(String state) throws JBIRemoteException(Code)(Java Doc)
|
|
|