public abstract class PropertiesStore extends Object
Constructor and Description |
---|
PropertiesStore() |
Modifier and Type | Method and Description |
---|---|
abstract int |
clear(String... propNames)
This will clear the given properties by name.
|
abstract int |
merge(Properties props)
This will merge the new properties with the old properties overwriting where there are clashes.
|
abstract int |
push(Properties props)
This will basically clear the existing properties and replace them with the new set.
|
public abstract int push(Properties props) throws IOException
props
- is the Properties
to store.IOException
- if the underlying transport or storage mechanism throws an IOExceptionpublic abstract int merge(Properties props) throws IOException
props
- is the Properties
to store.IOException
- if the underlying transport or storage mechanism throws an IOExceptionpublic abstract int clear(String... propNames) throws IOException
propNames
- is the set of keys to clear from the distributed properties.IOException
- if the underlying transport or storage mechanism throws an IOExceptionCopyright © 2018. All rights reserved.