public interface KeyValueConfiguration
BucketManagerFactory| Modifier and Type | Method and Description |
|---|---|
<T extends BucketManagerFactory> |
get()
Reads configuration either from default configuration or a file defined by NoSQL provider
and then creates a
BucketManagerFactory instance. |
<T extends BucketManagerFactory> |
get(Settings settings)
Reads configuration from the
Settings instance, the parameters are defined by NoSQL
provider, then creates a BucketManagerFactory instance. |
static <T extends KeyValueConfiguration> |
getConfiguration()
creates and returns a
KeyValueConfiguration instance from ServiceLoader |
static <T extends KeyValueConfiguration> |
getConfiguration(Class<T> supplier)
creates and returns a
KeyValueConfiguration instance from ServiceLoader
for a particular provider implementation. |
<T extends BucketManagerFactory> T get()
BucketManagerFactory instance.T - the BucketManagerFactory typeBucketManagerFactory instance<T extends BucketManagerFactory> T get(Settings settings)
Settings instance, the parameters are defined by NoSQL
provider, then creates a BucketManagerFactory instance.T - the BucketManagerFactory typesettings - the settingsBucketManagerFactoryNullPointerException - when settings is nullSettings,
{@link java.util.Map}static <T extends KeyValueConfiguration> T getConfiguration()
KeyValueConfiguration instance from ServiceLoaderT - the configuration typeKeyValueConfiguration instanceProviderNotFoundException - when the provider is not foundNonUniqueResultException - when there is more than one KeyValueConfigurationstatic <T extends KeyValueConfiguration> T getConfiguration(Class<T> supplier)
KeyValueConfiguration instance from ServiceLoader
for a particular provider implementation.T - the configuration typesupplier - the particular providerKeyValueConfiguration instanceProviderNotFoundException - when the provider is not foundNonUniqueResultException - when there is more than one KeyValueConfigurationCopyright © 2017–2020 Eclipse Foundation. All rights reserved.