Interface OperatingSystems

All Superinterfaces:
AdminAware, Iterable<OperatingSystem>, StatisticsMonitor
All Known Subinterfaces:
InternalOperatingSystems
All Known Implementing Classes:
DefaultOperatingSystems

public interface OperatingSystems extends Iterable<OperatingSystem>, AdminAware, StatisticsMonitor
Machines hold all the different OperatingSystems 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.

Author:
kimchy