Package | Description |
---|---|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
com.mongodb.event |
This package contains cluster and connection event related classes
|
Modifier and Type | Method and Description |
---|---|
ClusterId |
ServerId.getClusterId()
Gets the cluster identifier.
|
Constructor and Description |
---|
ServerId(ClusterId clusterId,
ServerAddress address)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
ClusterId |
ClusterEvent.getClusterId()
Gets the cluster id associated with this event.
|
Constructor and Description |
---|
ClusterDescriptionChangedEvent(ClusterId clusterId,
ClusterDescription clusterDescription)
Constructs a new instance of the event.
|
ClusterEvent(ClusterId clusterId)
Constructs a new instance of the event.
|
Copyright © 2016. All Rights Reserved.