public class StatisticsRecord extends Object
Constructor and Description |
---|
StatisticsRecord(String id,
String clientIP,
String clientHost) |
Modifier and Type | Method and Description |
---|---|
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() |
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 statisticspublic void clearLogs()
public ComponentType getOwner()
public void setOwner(ComponentType owner)
public boolean isEndReported()
public void setEndReported(boolean endReported)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.