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