ServerSelectorpublic final class WritableServerSelector extends Object implements ServerSelector
| Constructor | Description |
|---|---|
WritableServerSelector() |
| Modifier and Type | Method | Description |
|---|---|---|
List<ServerDescription> |
select(ClusterDescription clusterDescription) |
Select a list of server descriptions from the given cluster description according to some criteria.
|
String |
toString() |
public List<ServerDescription> select(ClusterDescription clusterDescription)
ServerSelectorselect in interface ServerSelectorclusterDescription - the cluster of servers to select from