public interface RASIDataStore
RASIDataStore
defines an interface to allow RAS configuration
data to be saved to and restored from persistent storage (such as a
properties file on disk). RASManager
requires an
object that implements this interface.RASBaseGroup
,
RASDefaultDataStore
,
RASPropertyDataStore
Modifier and Type | Method and Description |
---|---|
RASBaseGroup |
restoreConfig()
Deprecated.
Restores the
RASManager configuration from persistent
storage. |
void |
saveConfig(RASBaseGroup baseGroup)
Deprecated.
Saves the
RASManager configuration to persistent
storage. |
RASBaseGroup restoreConfig() throws RASIOException
RASManager
configuration from persistent
storage. This method is called automatically when the
RASManager
is created and can be called anytime the
stored configuration should be reloaded.RASBaseGroup
which holds the configuration
loaded from persistent store.RASIOException
- A RASIOException
is thrown if an error occurs
while loading the configuration from the data store.void saveConfig(RASBaseGroup baseGroup) throws RASIOException
RASManager
configuration to persistent
storage.baseGroup
- The RASBaseGroup
which holds the
configuration to be saved in persistent store.RASIOException
- A RASIOException
is thrown if an error occurs
while writing the configuration to the data store.