GigaSpaces XAP 10.0.1 API

org.openspaces.admin.os
Interface OperatingSystem

All Superinterfaces:
AdminAware, StatisticsMonitor

public interface OperatingSystem
extends AdminAware, StatisticsMonitor

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
 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.
 
Methods inherited from interface org.openspaces.admin.AdminAware
getAdmin
 
Methods inherited from interface org.openspaces.admin.StatisticsMonitor
isMonitoring, setStatisticsHistorySize, setStatisticsInterval, startStatisticsMonitor, stopStatisticsMonitor
 

Method Detail

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 for OperatingSystemStatisticsChangedEventListeners.

Note, in order to receive events, the StatisticsMonitor.startStatisticsMonitor() needs to be called.


GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.