|
||||||||||
| 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
|
static String |
STATS_HISTORY
Field description |
static String |
STATS_HISTORY_SIZE_PROP_KEY
Field description |
static int |
STATS_HISTORY_SIZE_PROP_VAL
Field description |
static String |
STATS_UPDATE_INTERVAL_PROP_KEY
Field description |
static long |
STATS_UPDATE_INTERVAL_PROP_VAL
Field description |
| Fields inherited from class tigase.server.AbstractComponentRegistrator |
|---|
components |
| Fields inherited from class tigase.server.BasicComponent |
|---|
admins, ALL_PROP_KEY, COMMAND_PROP_NODE, scriptCommands, 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 |
void |
initializationCompleted()
Method description |
boolean |
isCorrectType(ServerComponent component)
Method description |
void |
processPacket(Packet packet,
Queue<Packet> results)
Method description |
void |
release()
Method description |
void |
setName(String name)
Method description |
void |
setProperties(Map<String,Object> props)
Method description |
String |
shutdown()
Method description |
protected void |
statsUpdated()
Method description |
| Methods inherited from class tigase.server.AbstractComponentRegistrator |
|---|
addComponent, deleteComponent, getComponent, newPacketId |
| 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, isInitializationComplete |
| Field Detail |
|---|
public static final String STATISTICS_MBEAN_NAME
public static final String STATS_ARCHIVIZERS
public static final String STATS_ARCHIVIZERS_PROP_KEY
public static final String STATS_HISTORY
public static final String STATS_HISTORY_SIZE_PROP_KEY
public static final int STATS_HISTORY_SIZE_PROP_VAL
public static final String STATS_UPDATE_INTERVAL_PROP_KEY
public static final long STATS_UPDATE_INTERVAL_PROP_VAL
| 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 void initializationCompleted()
initializationCompleted in interface ServerComponentinitializationCompleted in class BasicComponent
public void processPacket(Packet packet,
Queue<Packet> results)
processPacket in interface ServerComponentprocessPacket in class BasicComponentpacket - results - public void release()
release in interface ServerComponentrelease in class AbstractComponentRegistrator<StatisticsContainer>public String shutdown()
shutdown in interface ShutdownHookpublic StatisticsList getAllStats()
public void getAllStats(StatisticsList list)
list - public List<String> getComponentsNames()
public void getComponentStats(String name,
StatisticsList list)
name - list - public Map<String,Object> getDefaults(Map<String,Object> params)
getDefaults in interface ConfigurablegetDefaults in class BasicComponentparams -
public List<tigase.xml.Element> getDiscoFeatures(tigase.xmpp.JID from)
getDiscoFeatures in interface XMPPServicegetDiscoFeatures in class BasicComponentfrom -
public tigase.xml.Element getDiscoInfo(String node,
tigase.xmpp.JID jid,
tigase.xmpp.JID from)
getDiscoInfo in interface XMPPServicegetDiscoInfo in class BasicComponentnode - jid - from -
public List<tigase.xml.Element> getDiscoItems(String node,
tigase.xmpp.JID jid,
tigase.xmpp.JID from)
getDiscoItems in interface XMPPServicegetDiscoItems in class BasicComponentnode - jid - from -
public String getName()
getName in interface ServerComponentgetName in interface ShutdownHookgetName in class BasicComponentpublic boolean isCorrectType(ServerComponent component)
isCorrectType in class AbstractComponentRegistrator<StatisticsContainer>component -
public void setName(String name)
setName in interface ServerComponentsetName in class BasicComponentname - public void setProperties(Map<String,Object> props)
setProperties in interface ConfigurablesetProperties in class BasicComponentprops - protected void statsUpdated()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||