public interface KieSessionMonitoringMBean
Modifier and Type | Method and Description |
---|---|
double |
getAverageFiringTime()
Returns the average firing time in milliseconds for rules in this session
since last reset.
|
String |
getKieBaseId()
Returns the associated Kie Base ID
|
int |
getKieSessionId()
Returns the associated Kie Session ID
|
Date |
getLastReset()
Returns the timestamp of the last stats reset
|
ObjectName |
getName()
Returns this MBean name
|
Map<String,String> |
getStatsByProcess() |
Map<Long,String> |
getStatsByProcessInstance() |
Map<String,String> |
getStatsByRule() |
String |
getStatsForProcess(String processId) |
String |
getStatsForProcessInstance(long processInstanceId) |
String |
getStatsForRule(String ruleName)
Returns a formatted String with statistics for a single rule in this session,
like number of matches created, cancelled and fired as well as firing time.
|
long |
getTotalFactCount()
Returns the total fact count current loaded into this session
|
long |
getTotalFiringTime()
Returns the total milliseconds spent firing rules in this session since last reset.
|
long |
getTotalMatchesCancelled()
Returns the total number of matches cancelled in this session since
last reset.
|
long |
getTotalMatchesCreated()
Returns the total number of matches created in this session since
last reset.
|
long |
getTotalMatchesFired()
Returns the total number of matches fired in this session since last
reset.
|
long |
getTotalProcessInstancesCompleted() |
long |
getTotalProcessInstancesStarted() |
void |
reset()
Resets all stats
|
void reset()
ObjectName getName()
String getKieBaseId()
int getKieSessionId()
long getTotalFactCount()
long getTotalMatchesFired()
long getTotalMatchesCancelled()
long getTotalMatchesCreated()
long getTotalFiringTime()
double getAverageFiringTime()
String getStatsForRule(String ruleName)
ruleName
- the name of the rule for which statistics are requested.Date getLastReset()
long getTotalProcessInstancesStarted()
long getTotalProcessInstancesCompleted()
String getStatsForProcessInstance(long processInstanceId)
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.