public interface WriteableDao<T> extends ReadableDao<T>
ReadableDao
.Modifier and Type | Method and Description |
---|---|
T |
getWriteableConfig()
This method returns the mutable configuration object for which any changes made to it will be persisted and
reflected after a call to
saveConfig() . |
void |
onConfigChanged()
Notify the DAO that the configuration it tracks has changed.
|
void |
saveConfig()
Save the current configuration held by the DAO.
|
getReadOnlyConfig, reload
T getWriteableConfig()
saveConfig()
.void saveConfig()
The configuration held by the DAO may not necessarily be the same configuration reference as returned by
getWriteableConfig()
if the config has been reloaded in between calls. This implies any changes to the
reference
returned by getWriteableConfig()
will not be reflected when saved in this case.
void onConfigChanged()
Call this method after updating the filesystem configuration directly or after providing a config extension.
Copyright © 2021. All rights reserved.