public class ServerStatisticManager extends AbstractInitializableServerObject<ServerContext> implements Resettable, CloseableComponent
ServerStatistic instance as well as a thread
which updates it repeatedly after the configured delay.| Constructor and Description |
|---|
ServerStatisticManager(ServerContext serverCtx) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ServerStatistic |
getServerStatistic()
Returns the ServerStatistic singleton instance
|
void |
init()
Performs the initialization of this class.
|
ServerStatistic |
newStatisticSnapshot()
Returns a freshly updated clone of the ServerStatistic singleton instance
|
void |
reset()
This method is called by the ResetButton on it's registered target.
|
checkInitialized, isInitialized, setInitialized, toStringcheckPermission, getServerConfig, getServerContext, getStatisticManagergetApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toStringpublic ServerStatisticManager(ServerContext serverCtx)
public void init()
Initializableinit in interface Initializablepublic void reset()
Resettablereset in interface Resettablepublic void close()
close in interface java.lang.AutoCloseablepublic ServerStatistic getServerStatistic()
public ServerStatistic newStatisticSnapshot()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.