Interface JCoConnectionClusterMBean
- All Superinterfaces:
JCoConnectionMonitor
- All Known Implementing Classes:
JCoConnectionClusterMBeanImpl
Interface for JCoConnection cluster monitoring via JMX MBean.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the time stamp until the current cluster cache is valid.Returns the time stamp of the current cluster cache.Returns the total number of nodes of the result.Returns the total number of nodes which haven't returned a result.Resets the JCo connections cache operation.Methods inherited from interface de.hybris.platform.sap.core.jco.monitor.JCoConnectionMonitor
createSnapshotFile, createSnapshotXML, getLongRunnerCount, getPoolLimitReachedCount, getTotalCount
-
Method Details
-
getNodesCount
Integer getNodesCount()Returns the total number of nodes of the result.- Returns:
- number of nodes
-
getNodesWithoutResultCount
Integer getNodesWithoutResultCount()Returns the total number of nodes which haven't returned a result.- Returns:
- number of nodes
-
getCacheTimestamp
Date getCacheTimestamp()Returns the time stamp of the current cluster cache.- Returns:
- cluster snapshot time stamp
-
getCacheExpirationTimestamp
Date getCacheExpirationTimestamp()Returns the time stamp until the current cluster cache is valid.- Returns:
- cluster snapshot valid to time stamp
-
resetCache
String resetCache()Resets the JCo connections cache operation.- Returns:
- result message
-