Class PrometheusCaseEventListener
- java.lang.Object
-
- org.kie.server.services.prometheus.PrometheusCaseEventListener
-
- All Implemented Interfaces:
EventListener,org.jbpm.casemgmt.api.event.CaseEventListener
public class PrometheusCaseEventListener extends Object implements org.jbpm.casemgmt.api.event.CaseEventListener
-
-
Field Summary
Fields Modifier and Type Field Description protected static io.prometheus.client.SummarycaseDurationprotected static io.prometheus.client.CounternumberOfCasesStartedprotected static io.prometheus.client.GaugerunningCases
-
Constructor Summary
Constructors Constructor Description PrometheusCaseEventListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterCaseCancelled(org.jbpm.casemgmt.api.event.CaseCancelEvent event)voidafterCaseClosed(org.jbpm.casemgmt.api.event.CaseCloseEvent event)voidafterCaseDestroyed(org.jbpm.casemgmt.api.event.CaseDestroyEvent event)voidafterCaseStarted(org.jbpm.casemgmt.api.event.CaseStartEvent event)protected voidendCase(org.jbpm.casemgmt.api.event.CaseEvent event)protected static voidrecordRunningCaseInstance(String caseDefinitionId)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jbpm.casemgmt.api.event.CaseEventListener
afterCaseCommentAdded, afterCaseCommentRemoved, afterCaseCommentUpdated, afterCaseDataAdded, afterCaseDataRemoved, afterCaseReopen, afterCaseRoleAssignmentAdded, afterCaseRoleAssignmentRemoved, afterDynamicProcessAdded, afterDynamicTaskAdded, beforeCaseCancelled, beforeCaseClosed, beforeCaseCommentAdded, beforeCaseCommentRemoved, beforeCaseCommentUpdated, beforeCaseDataAdded, beforeCaseDataRemoved, beforeCaseDestroyed, beforeCaseReopen, beforeCaseRoleAssignmentAdded, beforeCaseRoleAssignmentRemoved, beforeCaseStarted, beforeDynamicProcessAdded, beforeDynamicTaskAdded
-
-
-
-
Method Detail
-
recordRunningCaseInstance
protected static void recordRunningCaseInstance(String caseDefinitionId)
-
afterCaseStarted
public void afterCaseStarted(org.jbpm.casemgmt.api.event.CaseStartEvent event)
- Specified by:
afterCaseStartedin interfaceorg.jbpm.casemgmt.api.event.CaseEventListener
-
afterCaseClosed
public void afterCaseClosed(org.jbpm.casemgmt.api.event.CaseCloseEvent event)
- Specified by:
afterCaseClosedin interfaceorg.jbpm.casemgmt.api.event.CaseEventListener
-
afterCaseDestroyed
public void afterCaseDestroyed(org.jbpm.casemgmt.api.event.CaseDestroyEvent event)
- Specified by:
afterCaseDestroyedin interfaceorg.jbpm.casemgmt.api.event.CaseEventListener
-
afterCaseCancelled
public void afterCaseCancelled(org.jbpm.casemgmt.api.event.CaseCancelEvent event)
- Specified by:
afterCaseCancelledin interfaceorg.jbpm.casemgmt.api.event.CaseEventListener
-
endCase
protected void endCase(org.jbpm.casemgmt.api.event.CaseEvent event)
-
-