public interface DriverContext extends AttachmentPoint
NONEgetCodecRegistry, getProtocolVersion@NonNull String getSessionName()
Session.getName(), it's exposed here for components that only have
a reference to the context.@NonNull DriverConfig getConfig()
null.@NonNull DriverConfigLoader getConfigLoader()
null.@NonNull Map<String,LoadBalancingPolicy> getLoadBalancingPolicies()
null and to always contain an entry for the profile.@NonNull default LoadBalancingPolicy getLoadBalancingPolicy(@NonNull String profileName)
profileName - the profile name; never null.null.@NonNull Map<String,RetryPolicy> getRetryPolicies()
null and to always contain an entry for the profile.@NonNull default RetryPolicy getRetryPolicy(@NonNull String profileName)
profileName - the profile name; never null.null.@NonNull Map<String,SpeculativeExecutionPolicy> getSpeculativeExecutionPolicies()
null and to always contain an entry for the profile.@NonNull default SpeculativeExecutionPolicy getSpeculativeExecutionPolicy(@NonNull String profileName)
profileName - the profile name; never null.null.@NonNull TimestampGenerator getTimestampGenerator()
null.@NonNull ReconnectionPolicy getReconnectionPolicy()
null.@NonNull AddressTranslator getAddressTranslator()
null.@NonNull Optional<AuthProvider> getAuthProvider()
@NonNull Optional<SslEngineFactory> getSslEngineFactory()
@NonNull RequestTracker getRequestTracker()
null.@NonNull RequestThrottler getRequestThrottler()
null.@NonNull NodeStateListener getNodeStateListener()
null.@NonNull SchemaChangeListener getSchemaChangeListener()
null.Copyright © 2017–2020. All rights reserved.