Package | Description |
---|---|
com.datastax.oss.driver.api.core.context | |
com.datastax.oss.driver.api.core.metadata | |
com.datastax.oss.driver.api.core.session |
Modifier and Type | Method and Description |
---|---|
NodeStateListener |
DriverContext.getNodeStateListener() |
Modifier and Type | Class and Description |
---|---|
class |
NodeStateListenerBase
Convenience class for listener implementations that that don't need to override all methods (all
methods in this class are empty).
|
class |
SafeInitNodeStateListener
A node state listener wrapper that delays (or ignores) init events until after the session is
ready.
|
Constructor and Description |
---|
SafeInitNodeStateListener(NodeStateListener delegate,
boolean replayInitEvents)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
NodeStateListener |
ProgrammaticArguments.getNodeStateListener() |
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)
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. |
ProgrammaticArguments.Builder |
ProgrammaticArguments.Builder.withNodeStateListener(NodeStateListener nodeStateListener) |
SelfT |
SessionBuilder.withNodeStateListener(NodeStateListener nodeStateListener)
Registers a node state listener to use with the session.
|
Copyright © 2017–2024. All rights reserved.