Interface CallbackEventHandler
-
- All Known Subinterfaces:
OpenTelemetrySpanHandler
- All Known Implementing Classes:
SpanHandler
public interface CallbackEventHandler
The interface for handling callback events reported by the CallbackStatisticCollector.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleAddCallback(MessageContext messageContext, String callbackId)
Handles callback addition.void
handleCallbackCompletionEvent(MessageContext oldMessageContext, String callbackId)
Handles callback completion.void
handleReportCallbackHandlingCompletion(MessageContext synapseOutMsgCtx, String callbackId)
Handles callback completion report.void
handleUpdateParentsForCallback(MessageContext oldMessageContext, String callbackId)
Handles parents update for a callback.
-
-
-
Method Detail
-
handleAddCallback
void handleAddCallback(MessageContext messageContext, String callbackId)
Handles callback addition.- Parameters:
messageContext
- Message context.callbackId
- Callback id.
-
handleCallbackCompletionEvent
void handleCallbackCompletionEvent(MessageContext oldMessageContext, String callbackId)
Handles callback completion.- Parameters:
oldMessageContext
- Old message context.callbackId
- Callback id.
-
handleUpdateParentsForCallback
void handleUpdateParentsForCallback(MessageContext oldMessageContext, String callbackId)
Handles parents update for a callback.- Parameters:
oldMessageContext
- Old message context.callbackId
- Callback id.
-
handleReportCallbackHandlingCompletion
void handleReportCallbackHandlingCompletion(MessageContext synapseOutMsgCtx, String callbackId)
Handles callback completion report.- Parameters:
synapseOutMsgCtx
- Synapse out message context.callbackId
- Callback id.
-
-