Package | Description |
---|---|
com.datastax.driver.core.policies |
Policies that allow to control some of the behavior of the DataStax Java driver for Cassandra.
|
Modifier and Type | Method and Description |
---|---|
static WhiteListPolicy |
WhiteListPolicy.ofHosts(LoadBalancingPolicy childPolicy,
Iterable<String> hostnames)
Creates a new policy that wraps the provided child policy but only "allows" hosts having
addresses that match those from the resolved input host names.
|
static WhiteListPolicy |
WhiteListPolicy.ofHosts(LoadBalancingPolicy childPolicy,
String... hostnames)
Creates a new policy with the given host names.
|
Copyright © 2012–2024. All rights reserved.