Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
a91f9b6f
Commit
a91f9b6f
authored
Sep 17, 2018
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document that Cassandra policy classes must have a default constructor
Closes gh-14461
parent
b5815b71
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
CassandraProperties.java
...ork/boot/autoconfigure/cassandra/CassandraProperties.java
+3
-3
appendix-application-properties.adoc
...cs/src/main/asciidoc/appendix-application-properties.adoc
+3
-3
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cassandra/CassandraProperties.java
View file @
a91f9b6f
...
...
@@ -74,7 +74,7 @@ public class CassandraProperties {
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
;
...
...
@@ -94,12 +94,12 @@ public class CassandraProperties {
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
;
/**
* Class name of the retry policy.
* Class name of the retry policy.
The class must have a default constructor.
*/
private
Class
<?
extends
RetryPolicy
>
retryPolicy
;
...
...
spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
View file @
a91f9b6f
...
...
@@ -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.fetch-size= # Queries default fetch size.
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.password= # Login password of the server.
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.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.schema-action=none # Schema action to take at startup.
spring.data.cassandra.ssl=false # Enable SSL support.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment