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