Class JCoConnectionMBeanImpl

java.lang.Object
de.hybris.platform.jmx.mbeans.impl.JMXBindableTenantAwareObject
de.hybris.platform.jmx.mbeans.impl.AbstractJMXMBean
de.hybris.platform.sap.core.jco.jmx.impl.JCoConnectionMBeanImpl
All Implemented Interfaces:
JCoConnectionMBean, JCoConnectionMonitor, org.springframework.beans.factory.InitializingBean

@ManagedResource(description="Overview of the SAP JCo Connections of the current node.") public class JCoConnectionMBeanImpl extends de.hybris.platform.jmx.mbeans.impl.AbstractJMXMBean implements JCoConnectionMBean
JCoConnection monitoring JMX MBean.
  • Constructor Details

    • JCoConnectionMBeanImpl

      public JCoConnectionMBeanImpl()
  • Method Details

    • setLocalMonitorProvider

      public void setLocalMonitorProvider(JCoConnectionMonitorLocalProvider localMonitorProvider)
      Injection setter for JCoConnectionMonitorLocalProvider.
      Parameters:
      localMonitorProvider - the localMonitorProvider to set
    • getTotalCount

      @ManagedAttribute(description="Shows the total number of JCo connections of the current node.") public Integer getTotalCount()
      Description copied from interface: JCoConnectionMonitor
      Returns the total number of JCo connections.
      Specified by:
      getTotalCount in interface JCoConnectionMonitor
      Returns:
      number of JCo connections
    • getLongRunnerCount

      @ManagedAttribute(description="Shows the number of JCo connections with a long lifetime of the current node.") public Integer getLongRunnerCount()
      Description copied from interface: JCoConnectionMonitor
      Returns the number of JCo connections whose lifetime exceed a specific threshold parameter. The threshold parameter is defined in the project.properties file. Its default value is the same as the value of the default session timeout (3600 seconds).
      Specified by:
      getLongRunnerCount in interface JCoConnectionMonitor
      Returns:
      number of JCo connections whose lifetime exceed the defined threshold
    • getPoolLimitReachedCount

      @ManagedAttribute(description="Shows the number of RFC destinations whose pool size is reached of the current node.") public Integer getPoolLimitReachedCount()
      Description copied from interface: JCoConnectionMonitor
      Returns number of RFC destinations whose pool size is reached.
      Specified by:
      getPoolLimitReachedCount in interface JCoConnectionMonitor
      Returns:
      number of RFC destinations whose pool size is reached
    • createSnapshotXML

      @ManagedOperation(description="Returns all current JCo connections of the current node as XML string.") public String createSnapshotXML()
      Description copied from interface: JCoConnectionMonitor
      Returns all current JCo connections as XML String.
      Specified by:
      createSnapshotXML in interface JCoConnectionMonitor
      Returns:
      XML String
    • createSnapshotFile

      @ManagedOperation(description="Create JCo connections snapshot file of the current node.") public String createSnapshotFile()
      Description copied from interface: JCoConnectionMonitor
      Create JCo connections snapshot file operation.
      Specified by:
      createSnapshotFile in interface JCoConnectionMonitor
      Returns:
      result message