Package com.mongodb.selector
Class WritableServerSelector
java.lang.Object
com.mongodb.selector.WritableServerSelector
- All Implemented Interfaces:
ServerSelector
Deprecated.
A server selector that chooses servers that are writable.
- Since:
- 3.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionselect
(ClusterDescription clusterDescription) Deprecated.Select a list of server descriptions from the given cluster description according to some criteria.toString()
Deprecated.
-
Constructor Details
-
WritableServerSelector
public WritableServerSelector()Deprecated.
-
-
Method Details
-
select
Deprecated.Description copied from interface:ServerSelector
Select a list of server descriptions from the given cluster description according to some criteria.- Specified by:
select
in interfaceServerSelector
- Parameters:
clusterDescription
- the cluster of servers to select from- Returns:
- a non-null list of ServerDescriptions that meet the requirements of this ServerSelector. This may be empty.
-
toString
Deprecated.
-