public class StatisticsList extends Object implements Iterable<StatRecord>
Constructor and Description |
---|
StatisticsList(Level level)
Constructs ...
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(String comp,
String description,
float value,
Level recordLevel)
Method description
|
boolean |
add(String comp,
String description,
int value,
Level recordLevel)
Method description
|
boolean |
add(String comp,
String description,
long value,
Level recordLevel)
Method description
|
boolean |
add(String comp,
String description,
String value,
Level recordLevel)
Method description
|
LinkedHashMap<String,StatRecord> |
addCompStats(String comp)
Method description
|
boolean |
checkLevel(Level recordLevel)
Method description
|
boolean |
checkLevel(Level recordLevel,
int value)
Method description
|
boolean |
checkLevel(Level recordLevel,
long value)
Method description
|
int |
getCompConnections(String comp)
Method description
|
long |
getCompIq(String comp)
Method description
|
long |
getCompIqReceived(String comp)
Method description
|
long |
getCompIqSent(String comp)
Method description
|
long |
getCompMsg(String comp)
Method description
|
long |
getCompMsgReceived(String comp)
Method description
|
long |
getCompMsgSent(String comp)
Method description
|
long |
getCompPackets(String comp)
Method description
|
long |
getCompPres(String comp)
Method description
|
long |
getCompPresReceived(String comp)
Method description
|
long |
getCompPresSent(String comp)
Method description
|
long |
getCompReceivedPackets(String comp)
Method description
|
long |
getCompSentPackets(String comp)
Method description
|
LinkedHashMap<String,StatRecord> |
getCompStats(String comp)
Method description
|
Object |
getValue(String dataId) |
float |
getValue(String comp,
String description,
float def)
Method description
|
int |
getValue(String comp,
String description,
int def)
Method description
|
long |
getValue(String comp,
String description,
long def)
Method description
|
String |
getValue(String comp,
String description,
String def)
Method description
|
Iterator<StatRecord> |
iterator()
Method description
|
String |
toString()
Method description
|
public StatisticsList(Level level)
level
- public boolean add(String comp, String description, long value, Level recordLevel)
comp
- description
- value
- recordLevel
- public boolean add(String comp, String description, int value, Level recordLevel)
comp
- description
- value
- recordLevel
- public boolean add(String comp, String description, String value, Level recordLevel)
comp
- description
- value
- recordLevel
- public boolean add(String comp, String description, float value, Level recordLevel)
comp
- description
- value
- recordLevel
- public LinkedHashMap<String,StatRecord> addCompStats(String comp)
comp
- public boolean checkLevel(Level recordLevel)
recordLevel
- public boolean checkLevel(Level recordLevel, long value)
recordLevel
- value
- public boolean checkLevel(Level recordLevel, int value)
recordLevel
- value
- public int getCompConnections(String comp)
comp
- public long getCompIq(String comp)
comp
- public long getCompIqReceived(String comp)
comp
- public long getCompIqSent(String comp)
comp
- public long getCompMsg(String comp)
comp
- public long getCompMsgReceived(String comp)
comp
- public long getCompMsgSent(String comp)
comp
- public long getCompPackets(String comp)
comp
- public long getCompPres(String comp)
comp
- public long getCompPresReceived(String comp)
comp
- public long getCompPresSent(String comp)
comp
- public long getCompReceivedPackets(String comp)
comp
- public long getCompSentPackets(String comp)
comp
- public LinkedHashMap<String,StatRecord> getCompStats(String comp)
comp
- public long getValue(String comp, String description, long def)
comp
- description
- def
- public float getValue(String comp, String description, float def)
comp
- description
- def
- public int getValue(String comp, String description, int def)
comp
- description
- def
- public String getValue(String comp, String description, String def)
comp
- description
- def
- public Iterator<StatRecord> iterator()
iterator
in interface Iterable<StatRecord>
Copyright © 2014 "Tigase, Inc.". All rights reserved.