public class ConnectionPoolUtil extends Object
Modifier and Type | Field and Description |
---|---|
static int |
defaultInitialNrOfConnections |
static int |
defaultMaximumNrOfConnections |
Constructor and Description |
---|
ConnectionPoolUtil() |
Modifier and Type | Method and Description |
---|---|
static Connection |
getConnection(LogChannelInterface log,
DatabaseMeta dbMeta,
String partitionId) |
static Connection |
getConnection(LogChannelInterface log,
DatabaseMeta dbMeta,
String partitionId,
int initialSize,
int maximumSize) |
public static final int defaultInitialNrOfConnections
public static final int defaultMaximumNrOfConnections
public static Connection getConnection(LogChannelInterface log, DatabaseMeta dbMeta, String partitionId) throws Exception
Exception
public static Connection getConnection(LogChannelInterface log, DatabaseMeta dbMeta, String partitionId, int initialSize, int maximumSize) throws Exception
Exception