public class AnalyticsEventHandlerManager extends Object
| Constructor and Description |
|---|
AnalyticsEventHandlerManager(ApiService apiService,
AnalyticsEventCacheManager cacheManager,
com.mulesoft.mule.runtime.gw.api.service.EventsCollectorService eventsCollectorService,
Boolean serviceMesh,
Optional<GatewayMetricsAdapter> metricsCollector) |
| Modifier and Type | Method and Description |
|---|---|
AnalyticsEventHandler |
create(String appName)
Creates a new
AnalyticsEventHandler for the specified application |
AnalyticsEventHandler |
get(String appName) |
void |
remove(String appName)
Removes the handler of the specified application
|
public AnalyticsEventHandlerManager(ApiService apiService, AnalyticsEventCacheManager cacheManager, com.mulesoft.mule.runtime.gw.api.service.EventsCollectorService eventsCollectorService, Boolean serviceMesh, Optional<GatewayMetricsAdapter> metricsCollector)
public AnalyticsEventHandler create(String appName)
AnalyticsEventHandler for the specified applicationappName - the application namepublic AnalyticsEventHandler get(String appName)
appName - the application's nameAnalyticsEventHandler of the specified applicationpublic void remove(String appName)
appName - the application's nameCopyright © 2014–2022 MuleSoft, Inc.. All rights reserved.