|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.aspects.statistics.StatisticsRecord
public class StatisticsRecord
Holds a record for statistics for current message
| Constructor Summary | |
|---|---|
StatisticsRecord(String id,
String clientIP,
String clientHost)
|
|
| Method Summary | |
|---|---|
void |
clearLogs()
|
void |
collect(StatisticsLog log)
Collecting statistics for a particular component |
Iterator<String> |
getAllLogIds(ComponentType componentType)
Get all log ids related with a given component |
List<StatisticsLog> |
getAllStatisticsLogs()
Gets all the StatisticsLogs |
String |
getClientHost()
|
String |
getClientIP()
|
String |
getId()
|
ComponentType |
getOwner()
|
boolean |
isEndReported()
|
void |
setEndReported(boolean endReported)
|
void |
setOwner(ComponentType owner)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StatisticsRecord(String id,
String clientIP,
String clientHost)
| Method Detail |
|---|
public String getId()
public String getClientIP()
public String getClientHost()
public void collect(StatisticsLog log)
log - StatisticsLogpublic List<StatisticsLog> getAllStatisticsLogs()
public Iterator<String> getAllLogIds(ComponentType componentType)
componentType - The component that belong statistics
public void clearLogs()
public ComponentType getOwner()
public void setOwner(ComponentType owner)
public boolean isEndReported()
public void setEndReported(boolean endReported)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||