Interface JCoConnectionMonitor
- All Known Subinterfaces:
JCoConnectionClusterMBean,JCoConnectionMBean
- All Known Implementing Classes:
JCoConnectionClusterMBeanImpl,JCoConnectionMBeanImpl,JCoConnectionMonitorLocalProvider,JCoConnectionsSnapshotClusterHandler
public interface JCoConnectionMonitor
Interface for JCoConnection monitoring via JMX MBean.
-
Method Summary
Modifier and TypeMethodDescriptionCreate JCo connections snapshot file operation.Returns all current JCo connections as XML String.Returns the number of JCo connections whose lifetime exceed a specific threshold parameter.Returns number of RFC destinations whose pool size is reached.Returns the total number of JCo connections.
-
Method Details
-
getTotalCount
Integer getTotalCount()Returns the total number of JCo connections.- Returns:
- number of JCo connections
-
getLongRunnerCount
Integer getLongRunnerCount()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).- Returns:
- number of JCo connections whose lifetime exceed the defined threshold
-
getPoolLimitReachedCount
Integer getPoolLimitReachedCount()Returns number of RFC destinations whose pool size is reached.- Returns:
- number of RFC destinations whose pool size is reached
-
createSnapshotXML
String createSnapshotXML()Returns all current JCo connections as XML String.- Returns:
- XML String
-
createSnapshotFile
String createSnapshotFile()Create JCo connections snapshot file operation.- Returns:
- result message
-