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 |
---|---|
SchemaChangeListener |
ProgrammaticArguments.getSchemaChangeListener() |
Modifier and Type | Method and Description |
---|---|
SelfT |
SessionBuilder.addSchemaChangeListener(SchemaChangeListener schemaChangeListener)
Registers a schema change listener to use with the session, without removing
previously-registered listeners.
|
ProgrammaticArguments.Builder |
ProgrammaticArguments.Builder.addSchemaChangeListener(SchemaChangeListener schemaChangeListener) |
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)
Deprecated.
this method only exists for backward compatibility (if a subclass written for
driver 4.1.0 returns a non-null result, that value will be used). Please override
SessionBuilder.buildContext(DriverConfigLoader, ProgrammaticArguments) instead. |
SelfT |
SessionBuilder.withSchemaChangeListener(SchemaChangeListener schemaChangeListener)
Registers a schema change listener to use with the session.
|
ProgrammaticArguments.Builder |
ProgrammaticArguments.Builder.withSchemaChangeListener(SchemaChangeListener schemaChangeListener) |
Copyright © 2017–2021. All rights reserved.