generateBackendConfig
public static TierObjectStoreConfig generateBackendConfig(TierObjectStore.Backend backend,
java.util.Properties props)
This method generates the TierStoreConfig for the various backends. This is useful for all the tools
that would like the generated config in order to connect to the necessary backend.
Since, we are going to use the package-private c'tors of the various backends, hence, this method is placed here.
- Parameters:
backend
- The backend for which the config will be generated
props
- The Properties object for creating the backend
- Returns:
- The config which can then be used to create the backend through the public constructors