|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.uwyn.rife.database.DbQueryManagerCache
public class DbQueryManagerCache
This class is a simple cache for DbQueryManager objects. DbQueryManager objects are cached by their related Datasource and
an identifier.
| Constructor Summary | |
|---|---|
DbQueryManagerCache()
Default constructor |
|
| Method Summary | |
|---|---|
DbQueryManager |
get(Datasource datasource,
String identifier)
Retrieve a cached DbQueryManager |
void |
put(Datasource datasource,
String identifier,
DbQueryManager dbQueryManager)
Place a DbQueryManager in the cache |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbQueryManagerCache()
| Method Detail |
|---|
public DbQueryManager get(Datasource datasource,
String identifier)
DbQueryManager
datasource - the Datasource associated with the
desired DbQueryManageridentifier - the identifier associate with the desired DbQueryManager
DbQueryManager
public void put(Datasource datasource,
String identifier,
DbQueryManager dbQueryManager)
DbQueryManager in the cache
datasource - the Datasource associated with the DbQueryManager to put in the cacheidentifier - the identifier associated with the DbQueryManager to put in the cachedbQueryManager - the DbQueryManager to put in the
cache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||