Commit a91f9b6f authored by Andy Wilkinson's avatar Andy Wilkinson

Document that Cassandra policy classes must have a default constructor

Closes gh-14461
parent b5815b71
...@@ -74,7 +74,7 @@ public class CassandraProperties { ...@@ -74,7 +74,7 @@ public class CassandraProperties {
private Compression compression = Compression.NONE; private Compression compression = Compression.NONE;
/** /**
* Class name of the load balancing policy. * Class name of the load balancing policy. The class must have a default constructor.
*/ */
private Class<? extends LoadBalancingPolicy> loadBalancingPolicy; private Class<? extends LoadBalancingPolicy> loadBalancingPolicy;
...@@ -94,12 +94,12 @@ public class CassandraProperties { ...@@ -94,12 +94,12 @@ public class CassandraProperties {
private int fetchSize = QueryOptions.DEFAULT_FETCH_SIZE; private int fetchSize = QueryOptions.DEFAULT_FETCH_SIZE;
/** /**
* Reconnection policy class. * Class name of the reconnection policy. The class must have a default constructor.
*/ */
private Class<? extends ReconnectionPolicy> reconnectionPolicy; private Class<? extends ReconnectionPolicy> reconnectionPolicy;
/** /**
* Class name of the retry policy. * Class name of the retry policy. The class must have a default constructor.
*/ */
private Class<? extends RetryPolicy> retryPolicy; private Class<? extends RetryPolicy> retryPolicy;
......
...@@ -558,13 +558,13 @@ content into your application; rather pick only the properties that you need. ...@@ -558,13 +558,13 @@ content into your application; rather pick only the properties that you need.
spring.data.cassandra.contact-points=localhost # Comma-separated list of cluster node addresses. spring.data.cassandra.contact-points=localhost # Comma-separated list of cluster node addresses.
spring.data.cassandra.fetch-size= # Queries default fetch size. spring.data.cassandra.fetch-size= # Queries default fetch size.
spring.data.cassandra.keyspace-name= # Keyspace name to use. spring.data.cassandra.keyspace-name= # Keyspace name to use.
spring.data.cassandra.load-balancing-policy= # Class name of the load balancing policy. spring.data.cassandra.load-balancing-policy= # Class name of the load balancing policy. The class must have a default constructor.
spring.data.cassandra.port= # Port of the Cassandra server. spring.data.cassandra.port= # Port of the Cassandra server.
spring.data.cassandra.password= # Login password of the server. spring.data.cassandra.password= # Login password of the server.
spring.data.cassandra.read-timeout-millis= # Socket option: read time out. spring.data.cassandra.read-timeout-millis= # Socket option: read time out.
spring.data.cassandra.reconnection-policy= # Reconnection policy class. spring.data.cassandra.reconnection-policy= # Class name of the reconnection policy. The class must have a default constructor.
spring.data.cassandra.repositories.enabled= # Enable Cassandra repositories. spring.data.cassandra.repositories.enabled= # Enable Cassandra repositories.
spring.data.cassandra.retry-policy= # Class name of the retry policy. spring.data.cassandra.retry-policy= # Class name of the retry policy. The class must have a default constructor.
spring.data.cassandra.serial-consistency-level= # Queries serial consistency level. spring.data.cassandra.serial-consistency-level= # Queries serial consistency level.
spring.data.cassandra.schema-action=none # Schema action to take at startup. spring.data.cassandra.schema-action=none # Schema action to take at startup.
spring.data.cassandra.ssl=false # Enable SSL support. spring.data.cassandra.ssl=false # Enable SSL support.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment