IInitializer Interface |
If you want to create a new Cluster instance programmatically, then it is advised to use Cluster.Builder (obtained through the Cluster#builder method).
But it is also possible to implement a custom Initializer that retrieve initialization from a web-service or from a configuration file for instance.
Namespace: Dse
public interface IInitializer
The IInitializer type exposes the following members.
Name | Description | |
---|---|---|
ContactPoints |
Gets the initial Cassandra hosts to connect to.See
Builder.AddContactPoint for more details on contact
|
Name | Description | |
---|---|---|
GetConfiguration |
The configuration to use for the new cluster. Note that some configuration can be modified after the cluster initialization but some other cannot. In particular, the ones that cannot be change afterwards includes:
|