public class StatisticsData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String[] |
ADDITIONAL_DATA_PATH |
static String[] |
CLUSTER_NODES_COUNT_PATH |
static String[] |
DOMAIN_PATH |
static String[] |
HEAP_MAX_PATH |
static String[] |
HEAP_USED_PATH |
static String[] |
MAX_SESSIONS_TODAY_PATH |
static String[] |
MAX_SESSIONS_YESTERDAY_PATH |
static String[] |
TIMESTAMP_PATH |
static String[] |
UPTIME_PATH |
static String[] |
USERS_ACTIVE_PATH |
static String[] |
USERS_ONLINE_PATH |
protected static int |
VERSION |
static String[] |
VHOSTS_ITEM_PATH |
| Constructor and Description |
|---|
StatisticsData(tigase.xmpp.BareJID domain) |
| Modifier and Type | Method and Description |
|---|---|
void |
addVHost(tigase.xmpp.BareJID vhost) |
void |
addVHosts(Collection<tigase.xmpp.BareJID> vhosts) |
static StatisticsData |
fromElement(tigase.xml.Element element) |
String |
getAdditionalData() |
int |
getClusterNodesCount() |
tigase.xmpp.BareJID |
getDomain() |
long |
getHeapMax() |
long |
getHeapUsed() |
long |
getMaxSessionsToday() |
long |
getMaxSessionsYesterday() |
Date |
getTimestamp() |
long |
getUptime() |
long |
getUsersActive() |
long |
getUsersOnline() |
int |
getVersion() |
List<tigase.xmpp.BareJID> |
getVHosts() |
void |
setAdditionalData(String additionalData) |
void |
setClusterNodesCount(int clusterNodesCount) |
void |
setHeapMax(long heapMax) |
void |
setHeapUsed(long heapUsed) |
void |
setMaxSessionsToday(long maxSessionsToday) |
void |
setMaxSessionsYesterday(long maxSessionsYesterday) |
void |
setUptime(long uptime) |
void |
setUsersActive(long usersActive) |
void |
setUsersOnline(long usersOnline) |
tigase.xml.Element |
toElement() |
tigase.xml.Element |
toElement(boolean escape) |
public static final String[] DOMAIN_PATH
public static final String[] TIMESTAMP_PATH
public static final String[] VHOSTS_ITEM_PATH
public static final String[] UPTIME_PATH
public static final String[] HEAP_USED_PATH
public static final String[] HEAP_MAX_PATH
public static final String[] CLUSTER_NODES_COUNT_PATH
public static final String[] USERS_ONLINE_PATH
public static final String[] USERS_ACTIVE_PATH
public static final String[] MAX_SESSIONS_TODAY_PATH
public static final String[] MAX_SESSIONS_YESTERDAY_PATH
public static final String[] ADDITIONAL_DATA_PATH
protected static int VERSION
public int getVersion()
public tigase.xmpp.BareJID getDomain()
public Date getTimestamp()
public List<tigase.xmpp.BareJID> getVHosts()
public void addVHost(tigase.xmpp.BareJID vhost)
public void addVHosts(Collection<tigase.xmpp.BareJID> vhosts)
public long getUptime()
public void setUptime(long uptime)
public long getHeapUsed()
public void setHeapUsed(long heapUsed)
public long getHeapMax()
public void setHeapMax(long heapMax)
public int getClusterNodesCount()
public void setClusterNodesCount(int clusterNodesCount)
public long getUsersActive()
public void setUsersActive(long usersActive)
public long getUsersOnline()
public void setUsersOnline(long usersOnline)
public String getAdditionalData()
public void setAdditionalData(String additionalData)
public static StatisticsData fromElement(tigase.xml.Element element) throws tigase.util.TigaseStringprepException
tigase.util.TigaseStringprepExceptionpublic tigase.xml.Element toElement()
public tigase.xml.Element toElement(boolean escape)
public void setMaxSessionsToday(long maxSessionsToday)
public void setMaxSessionsYesterday(long maxSessionsYesterday)
public long getMaxSessionsYesterday()
public long getMaxSessionsToday()
Copyright © 2018 Tigase. All rights reserved.