public class AnalyticsMediationFlowObserver extends Object implements MessageFlowObserver, TenantInformation
| Constructor and Description |
|---|
AnalyticsMediationFlowObserver() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Clean up this observer and prepare for shutdown
|
int |
getTenantId()
Get the tenant id for the observer
|
void |
setTenantId(int i)
Set the tenantId for the observer
|
void |
updateStatistics(org.apache.synapse.aspects.flow.statistics.publishing.PublishingFlow flow)
Receive a statistics update from the statistics store/provider.
|
public void destroy()
MessageFlowObserverdestroy in interface MessageFlowObserverpublic void updateStatistics(org.apache.synapse.aspects.flow.statistics.publishing.PublishingFlow flow)
MessageFlowObserverupdateStatistics in interface MessageFlowObserverflow - Current latest update containing resource specific data, category specific
data, cumulative data and error logspublic int getTenantId()
TenantInformationgetTenantId in interface TenantInformationpublic void setTenantId(int i)
TenantInformationsetTenantId in interface TenantInformationi - tenantId of the observerCopyright © 2021 WSO2. All rights reserved.