public class EagerDatabaseMetaDataCache<Z,D extends Database<Z>> extends Object implements DatabaseMetaDataCache<Z,D>
DatabaseMetaDataCache implementation that populates itself eagerly.| Constructor and Description |
|---|
EagerDatabaseMetaDataCache(DatabaseCluster<Z,D> cluster) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Flushes this cache.
|
DatabaseProperties |
getDatabaseProperties(D database,
Connection connection) |
public EagerDatabaseMetaDataCache(DatabaseCluster<Z,D> cluster)
public void flush() throws SQLException
flush in interface DatabaseMetaDataCache<Z,D extends Database<Z>>SQLException - if flush failsDatabaseMetaDataCache.flush()public DatabaseProperties getDatabaseProperties(D database, Connection connection) throws SQLException
getDatabaseProperties in interface DatabaseMetaDataCache<Z,D extends Database<Z>>SQLExceptionDatabaseMetaDataCache.getDatabaseProperties(net.sf.hajdbc.Database, java.sql.Connection)Copyright © 2004–2014 Paul Ferraro. All rights reserved.