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.
|
AsyncConnectionSource |
retain()
Retain an additional reference to this object.
|
getCount, releaseServerDescription getServerDescription()
void getConnection(SingleResultCallback<AsyncConnection> callback)
callback - the to be passed the connectionAsyncConnectionSource retain()
ReferenceCountedretain in interface ReferenceCounted