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