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 TypeMethodDescriptionvoidaddCPULoadListener(CPULoadListener cpuListener) voidaddMemoryChangeListener(MemoryChangeListener memListener) voidaddOnlineJidsReporter(OnlineJidsReporter onlineReporter) voidaddShutdownHook(ShutdownHook hook) JID[]static MonitorRuntimebooleanbooleanisJidOnline(JID jid) booleanbooleanisJidOnlineLocally(JID jid) booleanvoidvoidsetShutdownThreadDump(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:
addShutdownHookin classTigaseRuntime
-
addMemoryChangeListener
- Specified by:
addMemoryChangeListenerin classTigaseRuntime
-
addCPULoadListener
- Specified by:
addCPULoadListenerin classTigaseRuntime
-
addOnlineJidsReporter
- Specified by:
addOnlineJidsReporterin classTigaseRuntime
-
hasCompleteJidsInfo
public boolean hasCompleteJidsInfo()- Specified by:
hasCompleteJidsInfoin classTigaseRuntime
-
isJidOnline
- Specified by:
isJidOnlinein classTigaseRuntime
-
isJidOnlineLocally
- Specified by:
isJidOnlineLocallyin classTigaseRuntime
-
isJidOnlineLocally
- Specified by:
isJidOnlineLocallyin classTigaseRuntime
-
getConnectionIdsForJid
- Specified by:
getConnectionIdsForJidin classTigaseRuntime
-
removeShutdownHook
- Specified by:
removeShutdownHookin classTigaseRuntime
-
isShutdownThreadDump
public boolean isShutdownThreadDump() -
setShutdownThreadDump
public void setShutdownThreadDump(boolean shutdownThreadDump)
-