Package com.devebot.opflow
Class OpflowPromMeasurer
java.lang.Object
com.devebot.opflow.OpflowPromMeasurer
public abstract class OpflowPromMeasurer extends Object
- Author:
- acegik
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpflowPromMeasurer.GaugeAction -
Field Summary
Fields Modifier and Type Field Description static OpflowPromMeasurerNULLstatic Class<? extends OpflowPromMeasurer>PromExporter -
Constructor Summary
Constructors Constructor Description OpflowPromMeasurer() -
Method Summary
Modifier and Type Method Description abstract voidcountRpcInvocation(String componentType, String eventName, String routineSignature, String status)static OpflowPromMeasurergetInstance()static OpflowPromMeasurergetInstance(Map<String,Object> kwargs)abstract OpflowRpcInvocationCountergetRpcInvocationCounter(String componentType)abstract Map<String,Object>getServiceInfo()abstract Map<String,Object>resetRpcInvocationCounter()abstract voidupdateComponentInstance(String componentType, String componentId, OpflowPromMeasurer.GaugeAction action)abstract voidupdateEngineConnection(String connectionOwner, String connectionType, OpflowPromMeasurer.GaugeAction action)
-
Field Details
-
Constructor Details
-
OpflowPromMeasurer
public OpflowPromMeasurer()
-
-
Method Details
-
updateComponentInstance
public abstract void updateComponentInstance(String componentType, String componentId, OpflowPromMeasurer.GaugeAction action) -
updateEngineConnection
public abstract void updateEngineConnection(String connectionOwner, String connectionType, OpflowPromMeasurer.GaugeAction action) -
countRpcInvocation
-
getRpcInvocationCounter
-
resetRpcInvocationCounter
-
getServiceInfo
-
getInstance
- Throws:
OpflowOperationException
-
getInstance
public static OpflowPromMeasurer getInstance(Map<String,Object> kwargs) throws OpflowOperationException- Throws:
OpflowOperationException
-