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) JID[]
static MonitorRuntime
boolean
boolean
isJidOnline
(JID jid) boolean
boolean
isJidOnlineLocally
(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
- Specified by:
isJidOnline
in classTigaseRuntime
-
isJidOnlineLocally
- Specified by:
isJidOnlineLocally
in classTigaseRuntime
-
isJidOnlineLocally
- Specified by:
isJidOnlineLocally
in classTigaseRuntime
-
getConnectionIdsForJid
- Specified by:
getConnectionIdsForJid
in classTigaseRuntime
-
removeShutdownHook
- Specified by:
removeShutdownHook
in classTigaseRuntime
-
isShutdownThreadDump
public boolean isShutdownThreadDump() -
setShutdownThreadDump
public void setShutdownThreadDump(boolean shutdownThreadDump)
-