Package | Description |
---|---|
com.datastax.oss.driver.api.core.config |
The configuration of the driver.
|
com.datastax.oss.driver.api.core.context | |
com.datastax.oss.driver.api.core.session |
Modifier and Type | Method and Description |
---|---|
DriverConfigLoader |
ProgrammaticDriverConfigLoaderBuilder.build() |
static DriverConfigLoader |
DriverConfigLoader.fromClasspath(String resourceBaseName)
Builds an instance using the driver's default implementation (based on Typesafe config), except
that application-specific options are loaded from a classpath resource with a custom name.
|
static DriverConfigLoader |
DriverConfigLoader.fromFile(File file)
Builds an instance using the driver's default implementation (based on Typesafe config), except
that application-specific options are loaded from the given file.
|
static DriverConfigLoader |
DriverConfigLoader.fromUrl(URL url)
Builds an instance using the driver's default implementation (based on Typesafe config), except
that application-specific options are loaded from the given URL.
|
Modifier and Type | Method and Description |
---|---|
DriverConfigLoader |
DriverContext.getConfigLoader() |
Modifier and Type | Field and Description |
---|---|
protected DriverConfigLoader |
SessionBuilder.configLoader |
Modifier and Type | Method and Description |
---|---|
protected DriverConfigLoader |
SessionBuilder.defaultConfigLoader() |
Modifier and Type | Method and Description |
---|---|
protected DriverContext |
SessionBuilder.buildContext(DriverConfigLoader configLoader,
List<TypeCodec<?>> typeCodecs,
NodeStateListener nodeStateListener,
SchemaChangeListener schemaChangeListener,
RequestTracker requestTracker,
Map<String,String> localDatacenters,
Map<String,Predicate<Node>> nodeFilters,
ClassLoader classLoader)
This must return an instance of
InternalDriverContext (it's not expressed
directly in the signature to avoid leaking that type through the protected API). |
SelfT |
SessionBuilder.withConfigLoader(DriverConfigLoader configLoader)
Sets the configuration loader to use.
|
Copyright © 2017–2019. All rights reserved.