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 StatisticsReportingCountHolder
countHolder
Count 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 void
addEvent(StatisticsReportingEvent event)
StatisticsReportingEvent
deQueueEvent()
List<StatisticsReportingEvent>
getEventList()
int
getQueueSize()
boolean
isEvenCollectionFinished()
boolean
isMessageFlowError()
boolean
isPublishMediationFlowStatistics()
void
setEvenCollectionFinished(boolean evenCollectionFinished)
void
setMessageFlowError(boolean messageFlowError)
void
setPublishMediationFlowStatistics(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()
-
-