public class DASMediationFlowObserver extends Object implements MessageFlowObserver, TenantInformation
Constructor and Description |
---|
DASMediationFlowObserver() |
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()
MessageFlowObserver
destroy
in interface MessageFlowObserver
public void updateStatistics(org.apache.synapse.aspects.flow.statistics.publishing.PublishingFlow flow)
MessageFlowObserver
updateStatistics
in interface MessageFlowObserver
flow
- Current latest update containing resource specific data, category specific
data, cumulative data and error logspublic int getTenantId()
TenantInformation
getTenantId
in interface TenantInformation
public void setTenantId(int i)
TenantInformation
setTenantId
in interface TenantInformation
i
- tenantId of the observerCopyright © 2017 WSO2. All rights reserved.