Package | Description |
---|---|
com.mongodb.binding |
This package contains classes that manage binding to MongoDB servers for various operations.
|
Modifier and Type | Class and Description |
---|---|
class |
ClusterBinding
A simple ReadWriteBinding implementation that supplies write connection sources bound to a possibly different primary each time, and a
read connection source bound to a possible different server each time.
|
class |
SingleServerBinding
A simple binding where all connection sources are bound to the server specified in the constructor.
|
Modifier and Type | Method and Description |
---|---|
ReadWriteBinding |
ReadWriteBinding.retain() |
ReadWriteBinding |
ClusterBinding.retain() |
Copyright © 2016. All Rights Reserved.