|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object infoservice.StatusStatisticsEntry
public class StatusStatisticsEntry
Holds the status statistics of a mixcascade.
Field Summary | |
---|---|
private int |
m_maxNrOfActiveUsers
This is the maximum number of active users in the current statistics period. |
private int |
m_minNrOfActiveUsers
This is the minimum number of active users in the current statistics period. |
private java.lang.String |
m_mixCascadeId
This is the ID of the mixcascade to which this status statistics belongs. |
private long |
m_mixedPackets
This is the number of mixed packets. |
private int |
m_nrOfActiveUsersSum
This is the sum of active users in the current statistics period. |
private long |
m_timeInLastStatisticsMessage
This is the creation time of the last received statistics message -> only newer messages are accepted for updating the statistics. |
private int |
m_userStatisticsUpdates
This is the number of updates of the statistics in this statistics period. |
Constructor Summary | |
---|---|
StatusStatisticsEntry(StatusInfo a_currentStatus)
This creates a new StatusStatisticsDBEntry. |
Method Summary | |
---|---|
java.lang.String |
getFileName()
Returns the filename of the corresponding log-file. |
java.lang.String |
getId()
Returns a unique ID for this StatusStatisticsDBEntry. |
java.lang.String |
getLogString()
Returns a String with all information needed for the write out of the statistics. |
void |
updateStatistics(StatusInfo a_currentStatus)
This updates the statistics. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String m_mixCascadeId
private int m_minNrOfActiveUsers
private int m_maxNrOfActiveUsers
private int m_nrOfActiveUsersSum
private long m_mixedPackets
private int m_userStatisticsUpdates
private long m_timeInLastStatisticsMessage
Constructor Detail |
---|
public StatusStatisticsEntry(StatusInfo a_currentStatus)
a_currentStatus
- The first status for the statistics.Method Detail |
---|
public void updateStatistics(StatusInfo a_currentStatus)
a_currentStatus
- A new status which is added to the statistics.public java.lang.String getId()
public java.lang.String getLogString()
public java.lang.String getFileName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |