T - the class that encapsulates the data for the profiling event context.@Experimental
public interface ProfilingDataProducer<T extends ProfilingEventContext>
ProfilingEventContext.
A ProfilingDataProducer must be firstly registered via
ProfilingService.registerProfilingDataProducer(ProfilingEventType, ProfilingDataProducer) and then can be obtained via
ProfilingService.getProfilingDataProducer(ProfilingEventType). Once it is obtained, it can be used to emit profiling
data by invoking triggerProfilingEvent(ProfilingEventContext).
ProfilingService| Modifier and Type | Method and Description |
|---|---|
void |
triggerProfilingEvent(T profilerEventContext)
Triggers a profiling event.
|
void triggerProfilingEvent(T profilerEventContext)
profilerEventContext - the ProfilingEventContext for the emitted event.Copyright © 2021 MuleSoft, Inc.. All rights reserved.