org.ourgrid.common.fd
Interface MonitoringUnitFactory
- All Known Implementing Classes:
- FakeMonitoringUnitFactory, RMIMonitoringUnitFactory
public interface MonitoringUnitFactory
A Factory of MonitoringUnit classes.
createMonitoringUnit
MonitoringUnit createMonitoringUnit(GenericState initialState,
java.lang.String monitorableAddress,
java.lang.String monitorableIdentifier)
- The creates a new instance of
MonitoringUnit class (or
subclass)
- Parameters:
initialState - The MonitoringUnit initial statemonitorableAddress - The address of the MonitoringUnit
to be createdmonitorableIdentifier - An index name given by the
Notifier when register it interests to the
Monitorable. It will be used to notify that a stat
has changed.
- Returns:
- A new instance of
MonitoringUnit class (or
subclass)