public interface AsyncReadBinding extends ReferenceCounted
Modifier and Type | Method and Description |
---|---|
void |
getReadConnectionSource(SingleResultCallback<AsyncConnectionSource> callback)
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.
|
AsyncReadBinding |
retain()
Retain an additional reference to this object.
|
getCount, release
ReadPreference getReadPreference()
SessionContext getSessionContext()
void getReadConnectionSource(SingleResultCallback<AsyncConnectionSource> callback)
callback
- the to be passed the connection sourceAsyncReadBinding retain()
ReferenceCounted
retain
in interface ReferenceCounted
Copyright © 2010 - 2020 Adobe. All Rights Reserved