public interface StorageService extends Service, Loggable
StorageProvider.StorageObject
Modifier and Type | Method and Description |
---|---|
void |
addProperties(Map<String,StorageProvider.StorageObject> props)
Adds the properties to the existing map.
|
Map<String,StorageProvider.StorageObject> |
load()
Loads all properties.
|
Map<String,StorageProvider.StorageObject> |
load(List<String> keys)
Loads only properties from the give key list.
|
void |
store(Map<String,StorageProvider.StorageObject> properties)
Stores properties.
|
getLogNode, getPropertyName, isLogByDefault
void addProperties(Map<String,StorageProvider.StorageObject> props) throws Exception
props
- the propsException
- in case of any errorMap<String,StorageProvider.StorageObject> load() throws Exception
Exception
- in case of any errorMap<String,StorageProvider.StorageObject> load(List<String> keys) throws Exception
keys
- the keysException
- 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.