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 |
getClientId() |
UUID |
getClusterId()
Deprecated.
Use
getClientId() instead. This method was intended to return a client id
not cluster id from the beginning. The getClientId name is more appropriate. |
GraphOptions |
getGraphOptions()
Returns the default graph options to use for the cluster.
|
builder, getCodecRegistry, getDefaultKeyspace, getMetricsOptions, getNettyOptions, getPolicies, getPoolingOptions, getProtocolOptions, getQueryOptions, getSocketOptions, getThreadingOptions
public GraphOptions getGraphOptions()
public String getApplicationName()
public String getApplicationVersion()
@Deprecated public UUID getClusterId()
getClientId()
instead. This method was intended to return a client id
not cluster id from the beginning. The getClientId name is more appropriate.public UUID getClientId()
public static LoadBalancingPolicy defaultLoadBalancingPolicy()
It is the core driver's default policy (as returned by Policies.defaultLoadBalancingPolicy()
), wrapped into a DseLoadBalancingPolicy
.
Copyright © 2012–2019. All rights reserved.