Class CassandraConfiguration

java.lang.Object
io.micronaut.cassandra.CassandraConfiguration

@EachProperty(value="cassandra", primary="default") public class CassandraConfiguration extends Object
Allows the configuration of a Cassandra Cluster connection using the datastax driver. The client is able to be configured to multiple clusters. If there are multiple configuration keys, default can be used to denote the primary cluster bean.
Since:
1.0
Author:
Nirav Assar, Michael Pollind
  • Field Details

  • Constructor Details

    • CassandraConfiguration

      public CassandraConfiguration(@Parameter String name)
      Parameters:
      name - The provider name
  • Method Details

    • getName

      public String getName()
      Returns:
      The provider name