Skip to content

Commit fc60d9f

Browse files
committed
Merge branch '1.5.x' into 2.0.x
2 parents 5708792 + a91f9b6 commit fc60d9f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cassandra/CassandraProperties.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public class CassandraProperties {
8282
private Compression compression = Compression.NONE;
8383

8484
/**
85-
* Class name of the load balancing policy.
85+
* Class name of the load balancing policy. The class must have a default constructor.
8686
*/
8787
private Class<? extends LoadBalancingPolicy> loadBalancingPolicy;
8888

@@ -102,12 +102,12 @@ public class CassandraProperties {
102102
private int fetchSize = QueryOptions.DEFAULT_FETCH_SIZE;
103103

104104
/**
105-
* Reconnection policy class.
105+
* Class name of the reconnection policy. The class must have a default constructor.
106106
*/
107107
private Class<? extends ReconnectionPolicy> reconnectionPolicy;
108108

109109
/**
110-
* Class name of the retry policy.
110+
* Class name of the retry policy. The class must have a default constructor.
111111
*/
112112
private Class<? extends RetryPolicy> retryPolicy;
113113

spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -599,17 +599,17 @@ content into your application. Rather, pick only the properties that you need.
599599
spring.data.cassandra.contact-points=localhost # Cluster node addresses.
600600
spring.data.cassandra.fetch-size= # Queries default fetch size.
601601
spring.data.cassandra.keyspace-name= # Keyspace name to use.
602-
spring.data.cassandra.load-balancing-policy= # Class name of the load balancing policy.
602+
spring.data.cassandra.load-balancing-policy= # Class name of the load balancing policy. The class must have a default constructor.
603603
spring.data.cassandra.port= # Port of the Cassandra server.
604604
spring.data.cassandra.password= # Login password of the server.
605605
spring.data.cassandra.pool.heartbeat-interval=30s # Heartbeat interval after which a message is sent on an idle connection to make sure it's still alive. If a duration suffix is not specified, seconds will be used.
606606
spring.data.cassandra.pool.idle-timeout=120s # Idle timeout before an idle connection is removed. If a duration suffix is not specified, seconds will be used.
607607
spring.data.cassandra.pool.max-queue-size=256 # Maximum number of requests that get queued if no connection is available.
608608
spring.data.cassandra.pool.pool-timeout=5000ms # Pool timeout when trying to acquire a connection from a host's pool.
609609
spring.data.cassandra.read-timeout= # Socket option: read time out.
610-
spring.data.cassandra.reconnection-policy= # Reconnection policy class.
610+
spring.data.cassandra.reconnection-policy= # Class name of the reconnection policy. The class must have a default constructor.
611611
spring.data.cassandra.repositories.type=auto # Type of Cassandra repositories to enable.
612-
spring.data.cassandra.retry-policy= # Class name of the retry policy.
612+
spring.data.cassandra.retry-policy= # Class name of the retry policy. The class must have a default constructor.
613613
spring.data.cassandra.serial-consistency-level= # Queries serial consistency level.
614614
spring.data.cassandra.schema-action=none # Schema action to take at startup.
615615
spring.data.cassandra.ssl=false # Enable SSL support.

0 commit comments

Comments
 (0)