@Test public void testRemove() { DataSource ds = mock( DataSource.class ); cachemanager.put( DS_NAME, ds ); assertThat( cachemanager.get( DS_NAME ), is( notNullValue() ) ); cachemanager.remove( DS_NAME ); assertThat( cachemanager.get( DS_NAME ), is( nullValue() ) ); }
public void remove( final String dsName ) { backend.remove( dsName ); }
StaticDataSourceCacheManager implements DataSourceCacheManager, DataSourceCache { public void remove( final String dsName ) { backend.remove( dsName ); } }
StaticDataSourceCacheManager implements DataSourceCacheManager, DataSourceCache { public void remove( final String dsName ) { backend.remove( dsName ); } StaticDataSourceCacheManager(); }
StaticDataSourceCacheManager implements DataSourceCacheManager, DataSourceCache { public void remove( final String dsName ) { backend.remove( dsName ); } StaticDataSourceCacheManager(); void put( final String name, final DataSource pool ); void clear(); void remove( final String dsName ); DataSource get( final String dsName ); DataSourceCache getDataSourceCache(); }
StaticDataSourceCacheManager implements DataSourceCacheManager, DataSourceCache { public void remove( final String dsName ) { backend.remove( dsName ); } StaticDataSourceCacheManager(); void put( final String name, final DataSource pool ); void clear(); void remove( final String dsName ); DataSource get( final String dsName ); DataSourceCache getDataSourceCache();  }