Package org.openspaces.admin.os
Interface OperatingSystem
- All Superinterfaces:
AdminAware,StatisticsMonitor
- All Known Subinterfaces:
InternalOperatingSystem
- All Known Implementing Classes:
DefaultOperatingSystem
An operating system is a virtual entity that container information about the operating system one
or more grid components are running within. An operating system is bounded to a
Machine and shares the same lifecycle.- Author:
- kimchy
-
Field Summary
Fields inherited from interface org.openspaces.admin.StatisticsMonitor
DEFAULT_HISTORY_SIZE, DEFAULT_MONITOR_INTERVAL -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the current time of the machine in millis.Returns details (static view) of the operating system.Returns the statistics of the operating system.Allows to register forOperatingSystemStatisticsChangedEventListeners.longReturns the delta between a current time taken on the admin API side, and the current time assumed by the remote machine.getUid()Returns the uid of the operating system.Methods inherited from interface org.openspaces.admin.AdminAware
getAdminMethods inherited from interface org.openspaces.admin.StatisticsMonitor
isMonitoring, setStatisticsHistorySize, setStatisticsInterval, startStatisticsMonitor, stopStatisticsMonitor
-
Method Details
-
getUid
String getUid()Returns the uid of the operating system. -
getTimeDelta
long getTimeDelta()Returns the delta between a current time taken on the admin API side, and the current time assumed by the remote machine. -
getCurrentTimeInMillis
long getCurrentTimeInMillis()Returns the current time of the machine in millis. -
getDetails
OperatingSystemDetails getDetails()Returns details (static view) of the operating system. -
getStatistics
OperatingSystemStatistics getStatistics()Returns the statistics of the operating system. -
getStatisticsChanged
OperatingSystemStatisticsChangedEventManager getStatisticsChanged()Allows to register forOperatingSystemStatisticsChangedEventListeners.Note, in order to receive events, the
StatisticsMonitor.startStatisticsMonitor()needs to be called.
-