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 |
ClusterClosedEvent.getClusterId()
Gets the cluster id associated with this event.
|
ClusterId |
ClusterOpeningEvent.getClusterId()
Gets the cluster id.
|
ClusterId |
ClusterDescriptionChangedEvent.getClusterId()
Gets the cluster id associated with this event.
|
Constructor and Description |
---|
ClusterClosedEvent(ClusterId clusterId)
Constructs a new instance of the event.
|
ClusterDescriptionChangedEvent(ClusterId clusterId,
ClusterDescription newDescription,
ClusterDescription previousDescription)
Constructs a new instance of the event.
|
ClusterOpeningEvent(ClusterId clusterId)
Constructs a new instance of the event.
|
Copyright © 2018. All rights reserved.