public interface OperatingSystem extends AdminAware, StatisticsMonitor
Machine and shares the same lifecycle.DEFAULT_HISTORY_SIZE, DEFAULT_MONITOR_INTERVAL| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentTimeInMillis()
Returns the current time of the machine in millis.
|
OperatingSystemDetails |
getDetails()
Returns details (static view) of the operating system.
|
OperatingSystemStatistics |
getStatistics()
Returns the statistics of the operating system.
|
OperatingSystemStatisticsChangedEventManager |
getStatisticsChanged()
Allows to register for
OperatingSystemStatisticsChangedEventListeners. |
long |
getTimeDelta()
Returns the delta between a current time taken on the admin API side, and the current time
assumed by the remote machine.
|
String |
getUid()
Returns the uid of the operating system.
|
getAdminisMonitoring, setStatisticsHistorySize, setStatisticsInterval, startStatisticsMonitor, stopStatisticsMonitorString getUid()
long getTimeDelta()
long getCurrentTimeInMillis()
OperatingSystemDetails getDetails()
OperatingSystemStatistics getStatistics()
OperatingSystemStatisticsChangedEventManager getStatisticsChanged()
OperatingSystemStatisticsChangedEventListeners.
Note, in order to receive events, the StatisticsMonitor.startStatisticsMonitor() needs to be
called.
Copyright © GigaSpaces.