Package tigase.server.monitor
Class MonitorRuntime
java.lang.Object
tigase.sys.TigaseRuntime
tigase.server.monitor.MonitorRuntime
Created: Feb 19, 2009 12:31:14 PM
- Author:
- Artur Hefczyc
-
Field Summary
Fields inherited from class tigase.sys.TigaseRuntime
HOUR, MINUTE, SECOND
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCPULoadListener
(CPULoadListener cpuListener) void
addMemoryChangeListener
(MemoryChangeListener memListener) void
addOnlineJidsReporter
(OnlineJidsReporter onlineReporter) void
addShutdownHook
(ShutdownHook hook) tigase.xmpp.jid.JID[]
getConnectionIdsForJid
(tigase.xmpp.jid.JID jid) static MonitorRuntime
boolean
boolean
isJidOnline
(tigase.xmpp.jid.JID jid) boolean
isJidOnlineLocally
(tigase.xmpp.jid.BareJID jid) boolean
isJidOnlineLocally
(tigase.xmpp.jid.JID jid) boolean
void
void
setShutdownThreadDump
(boolean shutdownThreadDump) Methods inherited from class tigase.sys.TigaseRuntime
getCPUsNumber, getCPUState, getCPUUsage, getDirectMemUsed, getGcStatistics, getHeapMemMax, getHeapMemUsage, getHeapMemUsed, getLoadAverage, getMemoryPoolMXBeans, getMemoryState, getNativeMemoryTracking, getNativeMemoryTracking, getNonHeapMemMax, getNonHeapMemUsage, getNonHeapMemUsed, getOldGenName, getOldMemPool, getProcessCPUTime, getThreadsNumber, getTigaseRuntime, getUptime, getUptimeString, main, shutdownTigase, shutdownTigase
-
Method Details
-
getMonitorRuntime
-
addShutdownHook
- Specified by:
addShutdownHook
in classTigaseRuntime
-
addMemoryChangeListener
- Specified by:
addMemoryChangeListener
in classTigaseRuntime
-
addCPULoadListener
- Specified by:
addCPULoadListener
in classTigaseRuntime
-
addOnlineJidsReporter
- Specified by:
addOnlineJidsReporter
in classTigaseRuntime
-
hasCompleteJidsInfo
public boolean hasCompleteJidsInfo()- Specified by:
hasCompleteJidsInfo
in classTigaseRuntime
-
isJidOnline
public boolean isJidOnline(tigase.xmpp.jid.JID jid) - Specified by:
isJidOnline
in classTigaseRuntime
-
isJidOnlineLocally
public boolean isJidOnlineLocally(tigase.xmpp.jid.BareJID jid) - Specified by:
isJidOnlineLocally
in classTigaseRuntime
-
isJidOnlineLocally
public boolean isJidOnlineLocally(tigase.xmpp.jid.JID jid) - Specified by:
isJidOnlineLocally
in classTigaseRuntime
-
getConnectionIdsForJid
public tigase.xmpp.jid.JID[] getConnectionIdsForJid(tigase.xmpp.jid.JID jid) - Specified by:
getConnectionIdsForJid
in classTigaseRuntime
-
removeShutdownHook
- Specified by:
removeShutdownHook
in classTigaseRuntime
-
isShutdownThreadDump
public boolean isShutdownThreadDump() -
setShutdownThreadDump
public void setShutdownThreadDump(boolean shutdownThreadDump)
-