|
KIE API 6.0.0.Beta3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KieSessionMonitoringMBean
An MBean interface for Kie Session monitoring
Method Summary | |
---|---|
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 |
Method Detail |
---|
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()
Map<String,String> getStatsByRule()
long getTotalProcessInstancesStarted()
long getTotalProcessInstancesCompleted()
String getStatsForProcess(String processId)
Map<String,String> getStatsByProcess()
String getStatsForProcessInstance(long processInstanceId)
Map<Long,String> getStatsByProcessInstance()
|
KIE API 6.0.0.Beta3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |