public class CallbackStatisticCollector extends RuntimeStatisticCollector
eventExpireTime
Constructor and Description |
---|
CallbackStatisticCollector() |
Modifier and Type | Method and Description |
---|---|
static void |
addCallback(MessageContext messageContext,
String callbackId)
Enqueue CallbackSentEvent event to the event queue.
|
static void |
callbackCompletionEvent(MessageContext oldMessageContext,
String callbackId)
Enqueue CallbackCompletionEvent event to the event queue.
|
static void |
reportCallbackHandlingCompletion(MessageContext synapseOutMsgCtx,
String callbackId)
Enqueue CallbackHandledEvent event to the event queue.
|
static void |
updateParentsForCallback(MessageContext oldMessageContext,
String callbackId)
Enqueue CallbackReceivedEvent event to the event queue.
|
addEvent, addEventAndCloseFlow, addEventAndDecrementCallbackCount, addEventAndDecrementCount, addEventAndIncrementCallbackCount, addEventAndIncrementCount, init, isCollectingAllStatistics, isCollectingPayloads, isCollectingProperties, isStatisticsEnabled, setCollectingAllStatistics, setStatisticsTraceId, shouldReportStatistic
public static void addCallback(MessageContext messageContext, String callbackId)
messageContext
- Current MessageContext of the flow.callbackId
- Callback Id.public static void callbackCompletionEvent(MessageContext oldMessageContext, String callbackId)
oldMessageContext
- Current MessageContext of the flow.callbackId
- Callback Id.public static void updateParentsForCallback(MessageContext oldMessageContext, String callbackId)
oldMessageContext
- Current MessageContext of the flow.callbackId
- Callback Id.public static void reportCallbackHandlingCompletion(MessageContext synapseOutMsgCtx, String callbackId)
synapseOutMsgCtx
- Old MessageContext of the flow.callbackId
- Callback Id.Copyright © 2005–2017 Apache Software Foundation. All rights reserved.