public interface PersistableStorage
Modifier and Type | Method and Description |
---|---|
void |
init()
Initializes the storage.
|
void |
load()
Loads properties.
|
void |
load(List<String> keys)
Loads only properties which belong to the given keys list.
|
void |
store()
Stores properties.
|
void |
store(Map<String,StorageProvider.StorageObject> properties)
Stores only given properties.
|
void init() throws Exception
Exception
- in case of any errorvoid load() throws Exception
Exception
- in case of any errorvoid load(List<String> keys) throws Exception
keys
- the keysException
- in case of any errorvoid store() throws Exception
Exception
- in case of any errorvoid store(Map<String,StorageProvider.StorageObject> properties) throws Exception
properties
- the propertiesException
- in case of any errorCopyright © 2010-2020 Toolsverse. All Rights Reserved.