|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttigase.server.BasicComponent
tigase.server.AbstractComponentRegistrator<StatisticsContainer>
tigase.stats.StatisticsCollector
public class StatisticsCollector
Class StatisticsCollector Created: Tue Nov 22 07:07:11 2005
Field Summary | |
---|---|
static String |
STATISTICS_MBEAN_NAME
Field description |
static String |
STATS_ARCHIVIZERS
|
static String |
STATS_ARCHIVIZERS_PROP_KEY
|
Fields inherited from class tigase.server.AbstractComponentRegistrator |
---|
components |
Fields inherited from class tigase.server.BasicComponent |
---|
admins, SCRIPTS_DIR_PROP_DEF, SCRIPTS_DIR_PROP_KEY, vHostManager |
Fields inherited from interface tigase.disco.XMPPService |
---|
CMD_FEATURES, DEF_FEATURES, INFO_XMLNS, ITEMS_XMLNS |
Constructor Summary | |
---|---|
StatisticsCollector()
|
Method Summary | |
---|---|
void |
componentAdded(StatisticsContainer component)
Method description |
void |
componentRemoved(StatisticsContainer component)
Method description |
StatisticsList |
getAllStats()
Method description |
void |
getAllStats(StatisticsList list)
Method description |
List<String> |
getComponentsNames()
Method description |
void |
getComponentStats(String name,
StatisticsList list)
Method description |
Map<String,Object> |
getDefaults(Map<String,Object> params)
Method description |
List<tigase.xml.Element> |
getDiscoFeatures(tigase.xmpp.JID from)
Method description |
tigase.xml.Element |
getDiscoInfo(String node,
tigase.xmpp.JID jid,
tigase.xmpp.JID from)
Method description |
List<tigase.xml.Element> |
getDiscoItems(String node,
tigase.xmpp.JID jid,
tigase.xmpp.JID from)
Method description |
String |
getName()
Method description |
boolean |
isCorrectType(ServerComponent component)
Method description |
void |
processPacket(Packet packet,
Queue<Packet> results)
Method description |
void |
setName(String name)
Method description |
void |
setProperties(Map<String,Object> props)
Method description |
String |
shutdown()
Method description |
protected void |
statsUpdated()
|
Methods inherited from class tigase.server.AbstractComponentRegistrator |
---|
addComponent, deleteComponent, getComponent, newPacketId, release |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface tigase.server.ServerComponent |
---|
getComponentId, initializationCompleted |
Field Detail |
---|
public static final String STATS_ARCHIVIZERS
public static final String STATS_ARCHIVIZERS_PROP_KEY
public static final String STATISTICS_MBEAN_NAME
Constructor Detail |
---|
public StatisticsCollector()
Method Detail |
---|
public void componentAdded(StatisticsContainer component)
componentAdded
in class AbstractComponentRegistrator<StatisticsContainer>
component
- public void componentRemoved(StatisticsContainer component)
componentRemoved
in class AbstractComponentRegistrator<StatisticsContainer>
component
- public StatisticsList getAllStats()
public void getAllStats(StatisticsList list)
list
- public void getComponentStats(String name, StatisticsList list)
name
- list
- public List<String> getComponentsNames()
public Map<String,Object> getDefaults(Map<String,Object> params)
getDefaults
in interface Configurable
getDefaults
in class BasicComponent
params
-
public List<tigase.xml.Element> getDiscoFeatures(tigase.xmpp.JID from)
getDiscoFeatures
in interface XMPPService
getDiscoFeatures
in class BasicComponent
from
-
public tigase.xml.Element getDiscoInfo(String node, tigase.xmpp.JID jid, tigase.xmpp.JID from)
getDiscoInfo
in interface XMPPService
getDiscoInfo
in class BasicComponent
node
- jid
- from
-
public List<tigase.xml.Element> getDiscoItems(String node, tigase.xmpp.JID jid, tigase.xmpp.JID from)
getDiscoItems
in interface XMPPService
getDiscoItems
in class BasicComponent
node
- jid
- from
-
public String getName()
getName
in interface ServerComponent
getName
in interface ShutdownHook
getName
in class BasicComponent
public boolean isCorrectType(ServerComponent component)
isCorrectType
in class AbstractComponentRegistrator<StatisticsContainer>
component
-
public void processPacket(Packet packet, Queue<Packet> results)
processPacket
in interface ServerComponent
processPacket
in class BasicComponent
packet
- results
- public void setName(String name)
setName
in interface ServerComponent
setName
in class BasicComponent
name
- public void setProperties(Map<String,Object> props)
setProperties
in interface Configurable
setProperties
in class BasicComponent
props
- public String shutdown()
shutdown
in interface ShutdownHook
protected void statsUpdated()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |