ReferenceCounted
public interface ConnectionSource extends ReferenceCounted
Modifier and Type | Method | Description |
---|---|---|
Connection |
getConnection() |
Gets a connection from this source.
|
ServerDescription |
getServerDescription() |
Gets the current description of this source.
|
SessionContext |
getSessionContext() |
Gets the session context for this source
|
ConnectionSource |
retain() |
Retain an additional reference to this object.
|
getCount, release
ServerDescription getServerDescription()
SessionContext getSessionContext()
Connection getConnection()
ConnectionSource retain()
ReferenceCounted
retain
in interface ReferenceCounted