util.rmi
Interface TriggerableReload

All Superinterfaces:
Remote
All Known Implementing Classes:
AdapterMaster, AuxiliaryMaster, CalibrationMaster, DomeMaster, EnvironmentMaster, GenericMaster, GenericMaster.Standalone, SesMaster, ShelterMaster, TelescopeMaster, TestReceiver, WifsipMaster

public interface TriggerableReload
extends Remote

Allows outside entities to trigger a reload of an object properties. The implementing class will most likely be Reloadable or inhibit similar processes to allow a reload to be triggered.


Method Summary
 double revert()
          If issued, the implementing object try to re-establish its state from non-volatile memory.
 

Method Detail

revert

double revert()
              throws RemoteException
If issued, the implementing object try to re-establish its state from non-volatile memory. In the easiest case this means reloading a properties file and rescanning all new bindings.

Returns:
Zero if reload failed, one if reload was totally successful.
Throws:
RemoteException
See Also:
Reloadable