org.pentaho.di.core.database
Class ConnectionPoolUtil

java.lang.Object
  extended by org.pentaho.di.core.database.ConnectionPoolUtil

public class ConnectionPoolUtil
extends Object


Field Summary
static int defaultInitialNrOfConnections
           
static int defaultMaximumNrOfConnections
           
 
Constructor Summary
ConnectionPoolUtil()
           
 
Method Summary
static Connection getConnection(LogChannelInterface log, DatabaseMeta dbMeta, String partitionId)
           
static Connection getConnection(LogChannelInterface log, DatabaseMeta dbMeta, String partitionId, int initialSize, int maximumSize)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultInitialNrOfConnections

public static final int defaultInitialNrOfConnections
See Also:
Constant Field Values

defaultMaximumNrOfConnections

public static final int defaultMaximumNrOfConnections
See Also:
Constant Field Values
Constructor Detail

ConnectionPoolUtil

public ConnectionPoolUtil()
Method Detail

getConnection

public static Connection getConnection(LogChannelInterface log,
                                       DatabaseMeta dbMeta,
                                       String partitionId)
                                throws Exception
Throws:
Exception

getConnection

public static Connection getConnection(LogChannelInterface log,
                                       DatabaseMeta dbMeta,
                                       String partitionId,
                                       int initialSize,
                                       int maximumSize)
                                throws Exception
Throws:
Exception