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.
|
SessionContext |
getSessionContext()
Gets the session context for this binding.
|
ReadBinding |
retain()
Retain an additional reference to this object.
|
getCount, release
ReadPreference getReadPreference()
ConnectionSource getReadConnectionSource()
SessionContext getSessionContext()
ReadBinding retain()
ReferenceCounted
retain
in interface ReferenceCounted