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, release
ServerDescription getServerDescription()
void getConnection(SingleResultCallback<AsyncConnection> callback)
callback
- the to be passed the connectionAsyncConnectionSource retain()
ReferenceCounted
retain
in interface ReferenceCounted