Package org.kie.api.management
Interface GenericKieSessionMonitoringMXBean
- 
- All Known Subinterfaces:
- KieSessionMonitoringMXBean,- StatelessKieSessionMonitoringMXBean
 
 public interface GenericKieSessionMonitoringMXBeanAn MBean interface forKieSessionmonitoring
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceGenericKieSessionMonitoringMXBean.IAgendaStatsDatastatic interfaceGenericKieSessionMonitoringMXBean.IGlobalProcessStatsDatastatic interfaceGenericKieSessionMonitoringMXBean.IProcessStatsData
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
resetvoid reset() Resets all stats
 - 
getNameObjectName getName() Returns this MBean name
 - 
getKieBaseIdString getKieBaseId() - Returns:
- the associated Kie Base ID
 
 - 
getTotalMatchesFiredlong getTotalMatchesFired() - Returns:
- the total number of matches fired in this session since last reset.
 
 - 
getTotalMatchesCancelledlong getTotalMatchesCancelled() - Returns:
- the total number of matches cancelled in this session since last reset.
 
 - 
getTotalMatchesCreatedlong getTotalMatchesCreated() - Returns:
- the total number of matches created in this session since last reset.
 
 - 
getTotalFiringTimelong getTotalFiringTime() - Returns:
- the total milliseconds spent firing rules in this session since last reset.
 
 - 
getAverageFiringTimedouble getAverageFiringTime() - Returns:
- the average firing time in milliseconds for rules in this session since last reset.
 
 - 
getLastResetDate getLastReset() - Returns:
- the timestamp of the last stats reset
 
 - 
getStatsForRuleGenericKieSessionMonitoringMXBean.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
 
 - 
getStatsByRuleMap<String,GenericKieSessionMonitoringMXBean.IAgendaStatsData> getStatsByRule() 
 - 
getTotalProcessInstancesStartedlong getTotalProcessInstancesStarted() 
 - 
getTotalProcessInstancesCompletedlong getTotalProcessInstancesCompleted() 
 - 
getStatsForProcessGenericKieSessionMonitoringMXBean.IProcessStatsData getStatsForProcess(String processId) 
 - 
getStatsByProcessMap<String,GenericKieSessionMonitoringMXBean.IProcessStatsData> getStatsByProcess() 
 - 
getKieSessionNameString getKieSessionName() 
 - 
getTotalSessionslong 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.
 
- 
 
-