|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OperatingSystems
Machines hold all the different OperatingSystem
s that are currently
discovered.
Provides simple means to get all the current operating systems, as well as as registering for operating system lifecycle (added and removed) events.
Provides the ability to start monitoring statistics in a polling fashion. Once monitoring is performed,
a statistics event listener can be registered in order to receive statistics change events. Accessing the
statistics (without actively monitoring them) is also possible using the getStatistics()
.
When starting to monitor for statistics, each OperatingSystem
will also
start its statistics monitoring, and newly discovered ones will also start monitoring for statistics automatically.
Field Summary |
---|
Fields inherited from interface org.openspaces.admin.StatisticsMonitor |
---|
DEFAULT_HISTORY_SIZE, DEFAULT_MONITOR_INTERVAL |
Method Summary | |
---|---|
OperatingSystem |
getByUID(String uid)
Returns the operating system matching its uid. |
OperatingSystemsDetails |
getDetails()
Returns an aggregated view of all the operating systems details. |
OperatingSystem[] |
getOperatingSystems()
Returns all currently discovered operating systems. |
OperatingSystemStatisticsChangedEventManager |
getOperatingSystemStatisticsChanged()
Allows to register OperatingSystemStatisticsChangedEventListener
to be notified when statistics have changed. |
int |
getSize()
Returns the number of operating systems current discovered. |
OperatingSystemsStatistics |
getStatistics()
Returns an aggregated view of all the operating systems statistics. |
OperatingSystemsStatisticsChangedEventManager |
getStatisticsChanged()
Allows to register OperatingSystemsStatisticsChangedEventListener
to be notified when statistics have changed. |
Map<String,OperatingSystem> |
getUids()
Returns a map of operating systems with the key as the uid. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Methods inherited from interface org.openspaces.admin.AdminAware |
---|
getAdmin |
Methods inherited from interface org.openspaces.admin.StatisticsMonitor |
---|
isMonitoring, setStatisticsHistorySize, setStatisticsInterval, startStatisticsMonitor, stopStatisticsMonitor |
Method Detail |
---|
OperatingSystem[] getOperatingSystems()
OperatingSystem getByUID(String uid)
Map<String,OperatingSystem> getUids()
int getSize()
OperatingSystemsDetails getDetails()
OperatingSystemsStatistics getStatistics()
OperatingSystemsStatisticsChangedEventManager getStatisticsChanged()
OperatingSystemsStatisticsChangedEventListener
to be notified when statistics have changed. Note, statistics monitoring need to be started using
StatisticsMonitor.startStatisticsMonitor()
in order to receive events.
OperatingSystemStatisticsChangedEventManager getOperatingSystemStatisticsChanged()
OperatingSystemStatisticsChangedEventListener
to be notified when statistics have changed. Note, statistics monitoring need to be started using
StatisticsMonitor.startStatisticsMonitor()
in order to receive events.
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |