public interface AsyncConnectionSource extends ReferenceCounted
Modifier and Type | Method and Description |
---|---|
void |
getConnection(SingleResultCallback<AsyncConnection> callback)
Gets a connection from this source.
|
ServerDescription |
getServerDescription()
Gets the current description of this source.
|
SessionContext |
getSessionContext()
Gets the session context for this source
|
AsyncConnectionSource |
retain()
Retain an additional reference to this object.
|
getCount, release
ServerDescription getServerDescription()
SessionContext getSessionContext()
void getConnection(SingleResultCallback<AsyncConnection> callback)
callback
- the to be passed the connectionAsyncConnectionSource retain()
ReferenceCounted
retain
in interface ReferenceCounted