Skip to content

Commit 88617da

Browse files
committed
Fix documentation of filter.class, mention two-arg constructor
1 parent a90dca5 commit 88617da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/src/main/resources/reference.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ datastax-java-driver {
179179
# A custom filter to include/exclude nodes.
180180
#
181181
# This option is not required; if present, it must be the fully-qualified name of a class that
182-
# implements `java.util.function.Predicate<Node>`, and has a public constructor taking a single
183-
# `DriverContext` argument.
182+
# implements `java.util.function.Predicate<Node>`, and has a public constructor taking two
183+
# arguments: the DriverContext and a String representing the profile name.
184184
#
185185
# Alternatively, you can pass an instance of your filter to
186186
# CqlSession.builder().withNodeFilter(). In that case, this option will be ignored.

0 commit comments

Comments
 (0)