Package com.linkedin.venice.utils
Class PropertyBuilder
java.lang.Object
com.linkedin.venice.utils.PropertyBuilder
PropertyBuilder is the suggested Way to construct VeniceProperties.
Ideally you use the PropertyBuilder APIs to add properties
and once all the properties are added, call the build method
to get the VeniceProperties object.
All the put methods overwrite the property if it already exists.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
put
(Properties properties) putIfAbsent
(String key, Object value)
-
Constructor Details
-
PropertyBuilder
public PropertyBuilder()
-
-
Method Details
-
put
-
putIfAbsent
-
put
- Throws:
IOException
-
put
-
build
-