Package tigase.stats
Class StatisticsList
java.lang.Object
tigase.stats.StatisticsList
- All Implemented Interfaces:
Iterable<StatRecord>
Created: Jul 10, 2009 3:23:23 PM
- Author:
- Artur Hefczyc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
<E extends Number>
booleanadd
(String comp, String description, Collection<E> value, Level recordLevel) addCompStats
(String comp) boolean
checkLevel
(Level recordLevel) boolean
checkLevel
(Level recordLevel, int value) boolean
checkLevel
(Level recordLevel, long value) boolean
checkLevel
(Level recordLevel, StatRecord record) <E> Collection<E>
getCollectionValue
(String dataId) <E> Collection<E>
getCollectionValue
(String comp, String description, Collection<E> def) int
getCompConnections
(String comp) long
long
getCompIqReceived
(String comp) long
getCompIqSent
(String comp) long
getCompMsg
(String comp) long
getCompMsgReceived
(String comp) long
getCompMsgSent
(String comp) Returns names of every component for which statistics are stored instats
variablelong
getCompPackets
(String comp) long
getCompPres
(String comp) long
getCompPresReceived
(String comp) long
getCompPresSent
(String comp) long
getCompReceivedPackets
(String comp) long
getCompSentPackets
(String comp) getCompStats
(String comp) float
int
long
<E> Collection<E>
getValue
(String comp, String description, Collection<E> def) iterator()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
StatisticsList
-
-
Method Details
-
add
-
add
-
add
-
add
-
add
public <E extends Number> boolean add(String comp, String description, Collection<E> value, Level recordLevel) -
addCompStats
-
checkLevel
-
checkLevel
-
checkLevel
-
checkLevel
-
getCompConnections
-
getCompIq
-
getCompIqReceived
-
getCompIqSent
-
getCompNames
Returns names of every component for which statistics are stored instats
variable -
getCompMsg
-
getCompMsgReceived
-
getCompMsgSent
-
getCompPackets
-
getCompPres
-
getCompPresReceived
-
getCompPresSent
-
getCompReceivedPackets
-
getCompSentPackets
-
getCompStats
-
getValue
-
getValue
-
getValue
-
getValue
-
getValue
-
getCollectionValue
-
getCollectionValue
-
getValue
-
iterator
- Specified by:
iterator
in interfaceIterable<StatRecord>
-
toString
-