Class StatisticsReportingEventHolder
- java.lang.Object
-
- org.apache.synapse.aspects.flow.statistics.log.StatisticsReportingEventHolder
-
public class StatisticsReportingEventHolder extends Object
This class is to hold events and stat count information before starting processing events.
-
-
Field Summary
Fields Modifier and Type Field Description StatisticsReportingCountHoldercountHolderCount holder which keeps stat count and callback counts.
-
Constructor Summary
Constructors Constructor Description StatisticsReportingEventHolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEvent(StatisticsReportingEvent event)StatisticsReportingEventdeQueueEvent()List<StatisticsReportingEvent>getEventList()intgetQueueSize()booleanisEvenCollectionFinished()booleanisMessageFlowError()booleanisPublishMediationFlowStatistics()voidsetEvenCollectionFinished(boolean evenCollectionFinished)voidsetMessageFlowError(boolean messageFlowError)voidsetPublishMediationFlowStatistics(boolean publishMediationFlowStatistics)
-
-
-
Field Detail
-
countHolder
public StatisticsReportingCountHolder countHolder
Count holder which keeps stat count and callback counts.
-
-
Method Detail
-
addEvent
public void addEvent(StatisticsReportingEvent event)
-
deQueueEvent
public StatisticsReportingEvent deQueueEvent()
-
getEventList
public List<StatisticsReportingEvent> getEventList()
-
getQueueSize
public int getQueueSize()
-
isEvenCollectionFinished
public boolean isEvenCollectionFinished()
-
setEvenCollectionFinished
public void setEvenCollectionFinished(boolean evenCollectionFinished)
-
isMessageFlowError
public boolean isMessageFlowError()
-
setMessageFlowError
public void setMessageFlowError(boolean messageFlowError)
-
setPublishMediationFlowStatistics
public void setPublishMediationFlowStatistics(boolean publishMediationFlowStatistics)
-
isPublishMediationFlowStatistics
public boolean isPublishMediationFlowStatistics()
-
-