public class LicenceCheckerUpdater extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CLUSTER_MODE
Constant
CLUSTER_MODE sets the cluster mode to either
true or
false. |
protected static tigase.conf.ConfiguratorAbstract |
configurator
Holds configurator implementation which handles all configuration of
Tigase
|
protected static tigase.server.xmppsession.SessionManager |
sess
Holds
SessionManager |
protected static tigase.cluster.SessionManagerClustered |
sessclust
Holds
SessionManagerClustered |
protected static tigase.vhosts.VHostManagerIfc |
vhost
Holds
VHostManagerIfc implementation which manages
all virtual host related funcionality in Tigase |
| Constructor and Description |
|---|
LicenceCheckerUpdater() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getClusterNodesCount() |
protected static tigase.xml.Element |
getComponentInfo()
Returns Component Information about all system components
|
protected static long |
getHeapMax()
Returns Maxim Heap Memory usage, either OLD memory pool size as this is
what is the most interesting to us or if this is not possible then total
Heap size.
|
protected static long |
getHeapUsed()
Returns Heap Memory usage, either OLD memory pool size as this is what is
the most interesting to us or if this is not possible then total Heap size.
|
protected static tigase.xmpp.BareJID |
getHostname()
Return default hostname of the node (i.e. machine hostname)
|
protected static long |
getMaxSessionsToday() |
protected static long |
getMaxSessionsYesterday() |
String |
getMissingLicenseWarning() |
static tigase.stats.StatisticsCollector |
getStats() |
protected static long |
getUptime()
Returns uptime of the instance.
|
protected static long |
getUserActive()
Returns number of all active users connections (i.e. which session wasn't
idle more than 5 minutes) on given node.
|
protected static long |
getUserOnline()
Returns number of all online users connections on given node.
|
protected static List<tigase.xmpp.BareJID> |
getVHosts()
Returns list of all Virtual Hosts on that particular Tigase instance.
|
protected static void |
init() |
static tigase.stats.collector.StatisticsData |
updateData() |
protected static tigase.conf.ConfiguratorAbstract configurator
protected static tigase.server.xmppsession.SessionManager sess
SessionManagerprotected static tigase.cluster.SessionManagerClustered sessclust
SessionManagerClusteredprotected static tigase.vhosts.VHostManagerIfc vhost
VHostManagerIfc implementation which manages
all virtual host related funcionality in Tigasepublic static final String CLUSTER_MODE
CLUSTER_MODE sets the cluster mode to either
true or
false. By default cluster mode is set to
false.public static tigase.stats.collector.StatisticsData updateData()
public String getMissingLicenseWarning()
protected static long getHeapMax()
protected static long getHeapUsed()
protected static tigase.xmpp.BareJID getHostname()
protected static long getUptime()
long value of the uptime in milisencondspublic static tigase.stats.StatisticsCollector getStats()
protected static long getUserOnline()
long value representing all online users connection
on given node.protected static long getUserActive()
long value representing all online users connection
on given node.protected static long getMaxSessionsToday()
protected static long getMaxSessionsYesterday()
protected static List<tigase.xmpp.BareJID> getVHosts()
BareJID list containing all Virtual Hosts on that
particular instanceprotected static tigase.xml.Element getComponentInfo()
Element representation of all
system Components informationpublic static int getClusterNodesCount()
protected static void init()
Copyright © 2011–2017 Tigase. All rights reserved.