| Package | Description |
|---|---|
| com.mongodb |
Main package with core files.
|
| Modifier and Type | Field and Description |
|---|---|
private ClusterType |
MultiServerCluster.clusterType |
private ClusterType |
ClusterSettings.requiredClusterType |
private ClusterType |
ClusterSettings.Builder.requiredClusterType |
private ClusterType |
ClusterDescription.type |
private ClusterType |
DBTCPConnector.type
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ClusterType |
ServerDescription.getClusterType() |
abstract ClusterType |
ServerType.getClusterType()
The type of the cluster to which this server belongs
|
ClusterType |
ClusterSettings.getRequiredClusterType()
Get
|
ClusterType |
ClusterDescription.getType() |
private ClusterType |
DBTCPConnector.getType()
Deprecated.
|
static ClusterType |
ClusterType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterType[] |
ClusterType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ClusterSettings.Builder |
ClusterSettings.Builder.requiredClusterType(ClusterType requiredClusterType)
Sets the required cluster type for the cluster.
|
| Constructor and Description |
|---|
ClusterDescription(ClusterConnectionMode connectionMode,
ClusterType type,
java.util.List<ServerDescription> serverDescriptions) |