public interface ConnectionProvider
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getConnection()
Get a data source connection.
|
int |
getMaxConnections()
Get the max connections number
|
void |
returnConnection(java.lang.Object connection)
Return the connection to the provider.
|
java.lang.Object getConnection()
throws ConnectionProviderException
ConnectionProviderException - if no connection could be acquiredvoid returnConnection(java.lang.Object connection)
connection - the connectionint getMaxConnections()
Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.