@Test public void testClear() { DataSource ds = mock( DataSource.class ); cachemanager.put( DS_NAME, ds ); assertThat( cachemanager.get( DS_NAME ), is( notNullValue() ) ); cachemanager.clear(); assertThat( cachemanager.get( DS_NAME ), is( nullValue() ) ); }
public void clear() { backend.clear(); }
StaticDataSourceCacheManager implements DataSourceCacheManager, DataSourceCache { public void clear() { backend.clear(); } }
StaticDataSourceCacheManager implements DataSourceCacheManager, DataSourceCache { public void clear() { backend.clear(); } StaticDataSourceCacheManager(); }
StaticDataSourceCacheManager implements DataSourceCacheManager, DataSourceCache { public void clear() { backend.clear(); } 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 clear() { backend.clear(); } StaticDataSourceCacheManager(); void put( final String name, final DataSource pool ); void clear(); void remove( final String dsName ); DataSource get( final String dsName ); DataSourceCache getDataSourceCache();  }