static interface Evictor.DbCache
Modifier and Type | Method and Description |
---|---|
DatabaseImpl |
getDb(EnvironmentImpl envImpl,
DatabaseId dbId)
Calls DbTree.getDb for the given environment and database ID, and
caches the result to optimize multiple calls for the same DB.
|
void |
releaseDbs()
Calls DbTree.releaseDb for cached DBs, and clears the cache.
|
DatabaseImpl getDb(EnvironmentImpl envImpl, DatabaseId dbId)
envImpl
- identifies which environment the dbId parameter
belongs to. For PrivateEvictor, it is the same as the
Evictor.envImpl field.dbId
- is the DB to get.void releaseDbs()
Copyright (c) 2004-2012 Oracle. All rights reserved.