Interface GenericKieSessionMonitoringMXBean

    • Method Detail

      • reset

        void reset()
        Resets all stats
      • getName

        ObjectName getName()
        Returns this MBean name
      • getKieBaseId

        String getKieBaseId()
        Returns:
        the associated Kie Base ID
      • getTotalMatchesFired

        long getTotalMatchesFired()
        Returns:
        the total number of matches fired in this session since last reset.
      • getTotalMatchesCancelled

        long getTotalMatchesCancelled()
        Returns:
        the total number of matches cancelled in this session since last reset.
      • getTotalMatchesCreated

        long getTotalMatchesCreated()
        Returns:
        the total number of matches created in this session since last reset.
      • getTotalFiringTime

        long getTotalFiringTime()
        Returns:
        the total milliseconds spent firing rules in this session since last reset.
      • getAverageFiringTime

        double getAverageFiringTime()
        Returns:
        the average firing time in milliseconds for rules in this session since last reset.
      • getLastReset

        Date getLastReset()
        Returns:
        the timestamp of the last stats reset
      • getStatsForRule

        GenericKieSessionMonitoringMXBean.IAgendaStatsData getStatsForRule​(String ruleName)
        Returns the statistics for a single rule in this session, like number of matches created, cancelled and fired as well as firing time.
        Parameters:
        ruleName - the name of the rule for which statistics are requested.
        Returns:
        the statistics for a single rule in this session
      • getTotalProcessInstancesStarted

        long getTotalProcessInstancesStarted()
      • getTotalProcessInstancesCompleted

        long getTotalProcessInstancesCompleted()
      • getKieSessionName

        String getKieSessionName()
      • getTotalSessions

        long getTotalSessions()
        Return the total number of KieSession monitored by name by this MBean. If the type of KieSession monitored is Stateful, this is the total count of Stateful KieSession(s) currently live under the specified KieSession name. If the type of KieSession monitored is Stateless, this is the total amount of Working Memory created.