-
InterfaceDescriptionThere is no replacement for this interface.There is no replacement for this interface.There is no replacement for this interface.There is no replacement for this interface.
-
ClassDescriptionThere is no replacement for this class.There is no replacement for this class.there is no replacement for this classPrefer
NettyTransportSettings
, creatable viaTransportSettings.nettyBuilder()
and applied viaMongoClientSettings.Builder.transportSettings(TransportSettings)
There is no replacement for this class.There is no replacement for this class.PreferConnectionCreatedEvent
PreferConnectionPoolCreatedEvent
PreferConnectionClosedEvent
-
MethodDescriptionPrefer using error labels included in the top level response documentPrefer using error labels included in the top level response documentgeoHaystack is deprecated in MongoDB 4.4, prefer
Indexes.geo2dsphere(String...)
geoHaystack is deprecated in MongoDB 4.4geoHaystack is deprecated in MongoDB 4.4PreferConnectionPoolListener.connectionCreated(com.mongodb.event.ConnectionCreatedEvent)
Implementations should NOT implement this method at all, instead relying on the default no-op implementation. If an application implements both this method and connectionCreated, the application risks double-counting events.PreferConnectionPoolListener.connectionPoolCreated(com.mongodb.event.ConnectionPoolCreatedEvent)
Implementations should NOT implement this method at all, instead relying on the default no-op implementation. If an application implements both this method and connectionPoolCreated, the application risks double-counting events.PreferConnectionPoolListener.connectionClosed(com.mongodb.event.ConnectionClosedEvent)
Implementations should NOT implement this method at all, instead relying on the default no-op implementation. If an application implements both this method and connectionClosed, the application risks double-counting events.PreferUnixSocketAddress(String)
-
ConstructorDescriptionPrefer using error labels included in the top level response documentPrefer
ConnectionCheckedOutEvent(ConnectionId, long)
. If this constructor is used, thenConnectionCheckedOutEvent.getOperationId()
is -1.PreferConnectionCheckedOutEvent(ConnectionId, long, long)
. If this constructor is used, thenConnectionCheckedOutEvent.getElapsedTime(TimeUnit)
is 0.PreferConnectionCheckOutFailedEvent(ServerId, long, Reason, long)
. If this constructor is used, thenConnectionCheckOutFailedEvent.getElapsedTime(TimeUnit)
is 0.PreferConnectionCheckOutFailedEvent(ServerId, long, Reason)
If this constructor is used, thenConnectionCheckOutFailedEvent.getOperationId()
is -1.PreferConnectionReadyEvent(ConnectionId, long)
. If this constructor is used, thenConnectionReadyEvent.getElapsedTime(TimeUnit)
is 0.