Class StaticDataSourceCacheManager
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.extensions.modules.connections.StaticDataSourceCacheManager
-
- All Implemented Interfaces:
DataSourceCache
,DataSourceCacheManager
public class StaticDataSourceCacheManager extends Object implements DataSourceCacheManager, DataSourceCache
-
-
Constructor Summary
Constructors Constructor Description StaticDataSourceCacheManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
DataSource
get(String dsName)
DataSourceCache
getDataSourceCache()
void
put(String name, DataSource pool)
void
remove(String dsName)
-
-
-
Method Detail
-
put
public void put(String name, DataSource pool)
- Specified by:
put
in interfaceDataSourceCache
-
clear
public void clear()
- Specified by:
clear
in interfaceDataSourceCache
-
remove
public void remove(String dsName)
- Specified by:
remove
in interfaceDataSourceCache
-
get
public DataSource get(String dsName)
- Specified by:
get
in interfaceDataSourceCache
-
getDataSourceCache
public DataSourceCache getDataSourceCache()
- Specified by:
getDataSourceCache
in interfaceDataSourceCacheManager
-
-