|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.synapse.aspects.statistics.StatisticsCollector
public class StatisticsCollector
Collects statistics and provides those collected data
Constructor Summary | |
---|---|
StatisticsCollector()
|
Method Summary | |
---|---|
void |
clearStatistics()
Clear all the existing statistics |
void |
collect(StatisticsRecord statisticsRecord)
Registering a statistics record |
boolean |
contains(StatisticsRecord statisticsRecord)
Check whether given statistics record has already been registered |
List<StatisticsRecord> |
getAndClearStatisticsRecords()
Return and clear collected statistics records |
List<StatisticsRecord> |
getStatisticsRecords()
Returns All collected statistics records |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatisticsCollector()
Method Detail |
---|
public void collect(StatisticsRecord statisticsRecord)
statisticsRecord
- statistics record instancepublic boolean contains(StatisticsRecord statisticsRecord)
statisticsRecord
- statisticsRecord statistics record instance
public void clearStatistics()
public List<StatisticsRecord> getStatisticsRecords()
public List<StatisticsRecord> getAndClearStatisticsRecords()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |