public class MonitorRuntime extends TigaseRuntime
HOUR, MINUTE, SECOND| Modifier and Type | Method and Description |
|---|---|
void |
addCPULoadListener(CPULoadListener cpuListener) |
void |
addMemoryChangeListener(MemoryChangeListener memListener) |
void |
addOnlineJidsReporter(OnlineJidsReporter onlineReporter) |
void |
addShutdownHook(ShutdownHook hook) |
JID[] |
getConnectionIdsForJid(JID jid) |
static MonitorRuntime |
getMonitorRuntime() |
boolean |
hasCompleteJidsInfo() |
boolean |
isJidOnline(JID jid) |
boolean |
isJidOnlineLocally(BareJID jid) |
boolean |
isJidOnlineLocally(JID jid) |
boolean |
isShutdownThreadDump() |
void |
removeShutdownHook(ShutdownHook hook) |
void |
setShutdownThreadDump(boolean shutdownThreadDump) |
getCPUsNumber, getCPUState, getCPUUsage, getDirectMemUsed, getGcStatistics, getHeapMemMax, getHeapMemUsage, getHeapMemUsed, getLoadAverage, getMemoryPoolMXBeans, getMemoryState, getNativeMemoryTracking, getNonHeapMemMax, getNonHeapMemUsage, getNonHeapMemUsed, getOldGenName, getOldMemPool, getProcessCPUTime, getThreadsNumber, getTigaseRuntime, getUptime, getUptimeString, main, shutdownTigase, shutdownTigasepublic static MonitorRuntime getMonitorRuntime()
public void addShutdownHook(ShutdownHook hook)
addShutdownHook in class TigaseRuntimepublic void addMemoryChangeListener(MemoryChangeListener memListener)
addMemoryChangeListener in class TigaseRuntimepublic void addCPULoadListener(CPULoadListener cpuListener)
addCPULoadListener in class TigaseRuntimepublic void addOnlineJidsReporter(OnlineJidsReporter onlineReporter)
addOnlineJidsReporter in class TigaseRuntimepublic boolean hasCompleteJidsInfo()
hasCompleteJidsInfo in class TigaseRuntimepublic boolean isJidOnline(JID jid)
isJidOnline in class TigaseRuntimepublic boolean isJidOnlineLocally(BareJID jid)
isJidOnlineLocally in class TigaseRuntimepublic boolean isJidOnlineLocally(JID jid)
isJidOnlineLocally in class TigaseRuntimepublic JID[] getConnectionIdsForJid(JID jid)
getConnectionIdsForJid in class TigaseRuntimepublic void removeShutdownHook(ShutdownHook hook)
removeShutdownHook in class TigaseRuntimepublic boolean isShutdownThreadDump()
public void setShutdownThreadDump(boolean shutdownThreadDump)
Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.