Package com.devebot.opflow
Class OpflowPromExporter
java.lang.Object
com.devebot.opflow.OpflowPromMeasurer
com.devebot.opflow.OpflowPromExporter
public class OpflowPromExporter extends OpflowPromMeasurer
- Author:
- topops
-
Nested Class Summary
Nested classes/interfaces inherited from class com.devebot.opflow.OpflowPromMeasurer
OpflowPromMeasurer.GaugeAction, OpflowPromMeasurer.RpcInvocationCounter -
Field Summary
-
Constructor Summary
Constructors Constructor Description OpflowPromExporter(Map<String,Object> kwargs) -
Method Summary
Modifier and Type Method Description voidcountRpcInvocation(String moduleName, String eventName, String routineId, String status)OpflowPromMeasurer.RpcInvocationCountergetRpcInvocationCounter(String moduleName)voidremoveComponentInstance(String instanceType, String instanceId)Map<String,Object>resetRpcInvocationCounter()voidupdateActiveChannel(String instanceType, String instanceId, OpflowPromMeasurer.GaugeAction action)voidupdateComponentInstance(String instanceType, String instanceId, OpflowPromMeasurer.GaugeAction action)voidupdateEngineConnection(com.rabbitmq.client.ConnectionFactory factory, String connectionType, OpflowPromMeasurer.GaugeAction action)
-
Constructor Details
-
Method Details
-
updateComponentInstance
public void updateComponentInstance(String instanceType, String instanceId, OpflowPromMeasurer.GaugeAction action)- Specified by:
updateComponentInstancein classOpflowPromMeasurer
-
removeComponentInstance
- Specified by:
removeComponentInstancein classOpflowPromMeasurer
-
updateEngineConnection
public void updateEngineConnection(com.rabbitmq.client.ConnectionFactory factory, String connectionType, OpflowPromMeasurer.GaugeAction action)- Specified by:
updateEngineConnectionin classOpflowPromMeasurer
-
updateActiveChannel
public void updateActiveChannel(String instanceType, String instanceId, OpflowPromMeasurer.GaugeAction action)- Specified by:
updateActiveChannelin classOpflowPromMeasurer
-
countRpcInvocation
public void countRpcInvocation(String moduleName, String eventName, String routineId, String status)- Specified by:
countRpcInvocationin classOpflowPromMeasurer
-
getRpcInvocationCounter
- Specified by:
getRpcInvocationCounterin classOpflowPromMeasurer
-
resetRpcInvocationCounter
- Specified by:
resetRpcInvocationCounterin classOpflowPromMeasurer
-