FilterConfig
A custom filter to include/exclude nodes.
The predicate's test(Node)
method will be invoked each time the policy processes a topology or state change: if it returns false, the
node will be set at distance IGNORED (meaning the driver won't ever connect to it), and never included in any query plan.
- Value parameters:
- `class`
it must be the fully-qualified name of a class that implements
java.util.function.Predicate<Node>
, and has a public constructor taking a singleDriverContext
argument.
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any