@Immutable public final class ConnectionId extends Object
Contains a locally created id and if available the MongoDB server created connection id
Modifier and Type | Method | Description |
---|---|---|
boolean |
equalsβ(Object o) |
|
int |
getLocalValueβ() |
Gets the locally created id value for the connection
|
ServerId |
getServerIdβ() |
Gets the server id.
|
Integer |
getServerValueβ() |
Gets the server generated id value for the connection or null if not set.
|
int |
hashCodeβ() |
|
String |
toStringβ() |
public ServerId getServerIdβ()
public int getLocalValueβ()
public Integer getServerValueβ()