public class ExtensionProfilingEventType extends Object implements ProfilingEventType<ExtensionProfilingEventContext>
ProfilingEventType that indicates that an event associated to an extension has happened. This is intended to be used
only by extensions and only generic information can be retrieved through them. An extension will inject the profilingService
and then always obtain a data producer for RuntimeProfilingEventTypes.EXTENSION_PROFILING_EVENT
@Inject
private ProfilingService profilingService;
// trigger a profiling event
profilingService.getProfilingDataProducer(EXTENSION_PROFILING_EVENT).event(data);
ExtensionProfilingEventContext.get(String)| Constructor and Description |
|---|
ExtensionProfilingEventType(String profilingEventTypeIdentifier,
String profilingEventTypeNamespace) |
| Modifier and Type | Method and Description |
|---|---|
String |
getProfilingEventTypeIdentifier() |
String |
getProfilingEventTypeNamespace() |
public String getProfilingEventTypeIdentifier()
getProfilingEventTypeIdentifier in interface ProfilingEventType<ExtensionProfilingEventContext>public String getProfilingEventTypeNamespace()
getProfilingEventTypeNamespace in interface ProfilingEventType<ExtensionProfilingEventContext>Copyright © 2024 MuleSoft, Inc.. All rights reserved.