ReferenceCountedpublic interface AsyncConnectionSource extends ReferenceCounted
| Modifier and Type | Method | 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, releaseServerDescription getServerDescription()
SessionContext getSessionContext()
void getConnection(SingleResultCallback<AsyncConnection> callback)
callback - the to be passed the connectionAsyncConnectionSource retain()
ReferenceCountedretain in interface ReferenceCounted