public interface ReadBinding extends ReferenceCounted
Modifier and Type | Method and Description |
---|---|
ConnectionSource |
getReadConnectionSource()
Returns a connection source to a server that satisfies the specified read preference.
|
ReadPreference |
getReadPreference()
The read preference that all connection sources returned by this instance will satisfy.
|
ReadBinding |
retain()
Retain an additional reference to this object.
|
getCount, release
ReadPreference getReadPreference()
ConnectionSource getReadConnectionSource()
ReadBinding retain()
ReferenceCounted
retain
in interface ReferenceCounted