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 TypeMethodDescriptionbooleanbooleanbooleanboolean<E extends Number>
booleanadd(String comp, String description, Collection<E> value, Level recordLevel) addCompStats(String comp) booleancheckLevel(Level recordLevel) booleancheckLevel(Level recordLevel, int value) booleancheckLevel(Level recordLevel, long value) booleancheckLevel(Level recordLevel, StatRecord record) <E> Collection<E>getCollectionValue(String dataId) <E> Collection<E>getCollectionValue(String comp, String description, Collection<E> def) intgetCompConnections(String comp) longlonggetCompIqReceived(String comp) longgetCompIqSent(String comp) longgetCompMsg(String comp) longgetCompMsgReceived(String comp) longgetCompMsgSent(String comp) Returns names of every component for which statistics are stored instatsvariablelonggetCompPackets(String comp) longgetCompPres(String comp) longgetCompPresReceived(String comp) longgetCompPresSent(String comp) longgetCompReceivedPackets(String comp) longgetCompSentPackets(String comp) getCompStats(String comp) floatintlong<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, waitMethods 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 instatsvariable -
getCompMsg
-
getCompMsgReceived
-
getCompMsgSent
-
getCompPackets
-
getCompPres
-
getCompPresReceived
-
getCompPresSent
-
getCompReceivedPackets
-
getCompSentPackets
-
getCompStats
-
getValue
-
getValue
-
getValue
-
getValue
-
getValue
-
getCollectionValue
-
getCollectionValue
-
getValue
-
iterator
- Specified by:
iteratorin interfaceIterable<StatRecord>
-
toString
-