Package | Description |
---|---|
com.datastax.oss.driver.api.core.context | |
com.datastax.oss.driver.api.core.metadata.schema | |
com.datastax.oss.driver.api.core.session |
Modifier and Type | Method and Description |
---|---|
SchemaChangeListener |
DriverContext.getSchemaChangeListener() |
Modifier and Type | Class and Description |
---|---|
class |
SchemaChangeListenerBase
Convenience class for listener implementations that that don't need to override all methods (all
methods in this class are empty).
|
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.withSchemaChangeListener(SchemaChangeListener schemaChangeListener)
Registers a schema change listener to use with the session.
|
Copyright © 2017–2019. All rights reserved.