public class DseConfiguration extends Configuration
DseCluster
.
This class extends the CQL driver's Configuration
to add DSE-specific options.
Configuration.Builder
Modifier and Type | Method and Description |
---|---|
static LoadBalancingPolicy |
defaultLoadBalancingPolicy()
Builds an instance of the default load balancing policy used for DSE.
|
String |
getApplicationName() |
String |
getApplicationVersion() |
UUID |
getClusterId() |
GraphOptions |
getGraphOptions()
Returns the default graph options to use for the cluster.
|
builder, getCodecRegistry, getMetricsOptions, getNettyOptions, getPolicies, getPoolingOptions, getProtocolOptions, getQueryOptions, getSocketOptions, getThreadingOptions
public GraphOptions getGraphOptions()
public String getApplicationName()
public String getApplicationVersion()
public UUID getClusterId()
public static LoadBalancingPolicy defaultLoadBalancingPolicy()
It is the core driver's default policy (as returned by Policies.defaultLoadBalancingPolicy()
), wrapped into a DseLoadBalancingPolicy
.
Copyright © 2012–2018. All rights reserved.