Class PooledDriverManager
java.lang.Object
org.apache.plc4x.java.PlcDriverManager
org.apache.plc4x.java.utils.connectionpool2.PooledDriverManager
- All Implemented Interfaces:
PooledDriverManagerMBean
Pool that sits on top of the
CachedDriverManager.
This class is thread safe!
-
Field Summary
Fields inherited from class org.apache.plc4x.java.PlcDriverManager
classLoader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getConnection(String url) getConnection(String url, PlcAuthentication authentication) Methods inherited from class org.apache.plc4x.java.PlcDriverManager
getDriver, getDriverForUrl, listDrivers
-
Constructor Details
-
PooledDriverManager
public PooledDriverManager() -
PooledDriverManager
-
-
Method Details
-
getConnection
- Overrides:
getConnectionin classPlcDriverManager- Throws:
PlcConnectionException
-
getConnection
public PlcConnection getConnection(String url, PlcAuthentication authentication) throws PlcConnectionException - Overrides:
getConnectionin classPlcDriverManager- Throws:
PlcConnectionException
-
getConnectedUrls
- Specified by:
getConnectedUrlsin interfacePooledDriverManagerMBean
-