tigase.stats
Class StatisticsCollector
java.lang.Object
tigase.server.AbstractComponentRegistrator<StatisticsContainer>
tigase.stats.StatisticsCollector
- All Implemented Interfaces:
- XMPPService, ComponentRegistrator, ServerComponent
public class StatisticsCollector
- extends AbstractComponentRegistrator<StatisticsContainer>
- implements XMPPService
Class StatisticsCollector
Created: Tue Nov 22 07:07:11 2005
- Version:
- $Rev: 1426 $
- Author:
- Artur Hefczyc
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatisticsCollector
public StatisticsCollector()
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface ServerComponent- Overrides:
setName in class AbstractComponentRegistrator<StatisticsContainer>
getName
public java.lang.String getName()
- Specified by:
getName in interface ServerComponent- Overrides:
getName in class AbstractComponentRegistrator<StatisticsContainer>
componentAdded
public void componentAdded(StatisticsContainer component)
- Specified by:
componentAdded in class AbstractComponentRegistrator<StatisticsContainer>
isCorrectType
public boolean isCorrectType(ServerComponent component)
- Specified by:
isCorrectType in class AbstractComponentRegistrator<StatisticsContainer>
componentRemoved
public void componentRemoved(StatisticsContainer component)
- Specified by:
componentRemoved in class AbstractComponentRegistrator<StatisticsContainer>
getAllStats
public java.util.List<StatRecord> getAllStats()
getAllStats
public java.util.List<StatRecord> getAllStats(int level)
getComponentStats
public java.util.List<StatRecord> getComponentStats(java.lang.String name,
int level)
getComponentsNames
public java.util.List<java.lang.String> getComponentsNames()
processPacket
public void processPacket(Packet packet,
java.util.Queue<Packet> results)
- Description copied from interface:
ServerComponent
processPacket is a blocking processing method implemented
by all components. This method processes packet and returns results
instantly without waiting for any resources.
- Specified by:
processPacket in interface ServerComponent
- Parameters:
packet - a Packet value
getDiscoInfo
public tigase.xml.Element getDiscoInfo(java.lang.String node,
java.lang.String jid)
- Specified by:
getDiscoInfo in interface XMPPService
getDiscoFeatures
public java.util.List<tigase.xml.Element> getDiscoFeatures()
- Description copied from interface:
XMPPService
- Returns features for top level disco info
- Specified by:
getDiscoFeatures in interface XMPPService
- Returns:
getDiscoItems
public java.util.List<tigase.xml.Element> getDiscoItems(java.lang.String node,
java.lang.String jid)
- Specified by:
getDiscoItems in interface XMPPService
Copyright © 2009 Tigase. All Rights Reserved.