org.pentaho.di.core.database.map
Class DatabaseConnectionMap
java.lang.Object
org.pentaho.di.core.database.map.DatabaseConnectionMap
public class DatabaseConnectionMap
- extends Object
This class contains a map between on the one hand
the transformation name/thread
the partition ID
the connection group
And on the other hand
The database connection
The number of times it was opened
- Author:
- Matt
getInstance
public static final DatabaseConnectionMap getInstance()
storeDatabase
public void storeDatabase(String connectionGroup,
String partitionID,
Database database)
removeConnection
public void removeConnection(String connectionGroup,
String partitionID,
Database database)
getDatabase
public Database getDatabase(String connectionGroup,
String partitionID,
Database database)
createEntryKey
public static final String createEntryKey(String connectionGroup,
String partitionID,
Database database)
getMap
public Map<String,Database> getMap()