Interface ExecutorConnectionManager<C>
- Type Parameters:
C- type of resource connection
- All Known Subinterfaces:
ExecutorJDBCConnectionManager,ExecutorVertxConnectionManager
public interface ExecutorConnectionManager<C>
Executor connection manager.
-
Method Summary
Modifier and TypeMethodDescriptiongetConnections(String dataSourceName, int connectionSize, ConnectionMode connectionMode) Get connections.
-
Method Details
-
getConnections
List<C> getConnections(String dataSourceName, int connectionSize, ConnectionMode connectionMode) throws SQLException Get connections.- Parameters:
dataSourceName- data source nameconnectionSize- connection sizeconnectionMode- connection mode- Returns:
- connections
- Throws:
SQLException- SQL exception
-