Class JCoConnectionClusterMBeanImpl

    • Constructor Detail

      • JCoConnectionClusterMBeanImpl

        public JCoConnectionClusterMBeanImpl()
    • Method Detail

      • getTotalCount

        @ManagedAttribute(description="Shows the total number of JCo connections of all nodes of the cluster.")
        public java.lang.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 all nodes of the cluster.")
        public java.lang.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 all nodes of the cluster.")
        public java.lang.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
      • getNodesCount

        @ManagedAttribute(description="Shows the total number of nodes of the cluster.")
        public java.lang.Integer getNodesCount()
        Description copied from interface: JCoConnectionClusterMBean
        Returns the total number of nodes of the result.
        Specified by:
        getNodesCount in interface JCoConnectionClusterMBean
        Returns:
        number of nodes
      • getNodesWithoutResultCount

        @ManagedAttribute(description="Shows the total number of nodes which returned no result of the cluster .")
        public java.lang.Integer getNodesWithoutResultCount()
        Description copied from interface: JCoConnectionClusterMBean
        Returns the total number of nodes which haven't returned a result.
        Specified by:
        getNodesWithoutResultCount in interface JCoConnectionClusterMBean
        Returns:
        number of nodes
      • getCacheTimestamp

        @ManagedAttribute(description="Shows the time stamp of the JCo connections cluster attributes cache.")
        public java.util.Date getCacheTimestamp()
        Description copied from interface: JCoConnectionClusterMBean
        Returns the time stamp of the current cluster cache.
        Specified by:
        getCacheTimestamp in interface JCoConnectionClusterMBean
        Returns:
        cluster snapshot time stamp
      • getCacheExpirationTimestamp

        @ManagedAttribute(description="Shows the time stamp the JCo connections cluster attribute caches is valid to.")
        public java.util.Date getCacheExpirationTimestamp()
        Description copied from interface: JCoConnectionClusterMBean
        Returns the time stamp until the current cluster cache is valid.
        Specified by:
        getCacheExpirationTimestamp in interface JCoConnectionClusterMBean
        Returns:
        cluster snapshot valid to time stamp
      • resetCache

        @ManagedOperation(description="Resets the JCo connections cluster attributes cache.")
        public java.lang.String resetCache()
        Description copied from interface: JCoConnectionClusterMBean
        Resets the JCo connections cache operation.
        Specified by:
        resetCache in interface JCoConnectionClusterMBean
        Returns:
        result message
      • createSnapshotXML

        @ManagedOperation(description="Returns all current JCo connections of all nodes of the cluster as XML string.")
        public java.lang.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 cluster snapshot file of all nodes of the cluster.")
        public java.lang.String createSnapshotFile()
        Description copied from interface: JCoConnectionMonitor
        Create JCo connections snapshot file operation.
        Specified by:
        createSnapshotFile in interface JCoConnectionMonitor
        Returns:
        result message