|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheManager
Field Summary | |
---|---|
static String |
BTREE_CACHE
|
static String |
DATA_CACHE
|
Method Summary | |
---|---|
void |
checkCaches()
Called from the global major sync event to check if caches can be shrinked. |
void |
checkDistribution()
Called from the global minor sync event to check if a smaller cache wants to be resized. |
void |
deregisterCache(Cache cache)
|
long |
getCurrentSize()
|
long |
getMaxSingle()
|
long |
getMaxTotal()
|
void |
registerCache(Cache cache)
Register a cache, i.e. |
int |
requestMem(Cache cache)
Called by a cache if it wants to grow. |
Field Detail |
---|
static final String BTREE_CACHE
static final String DATA_CACHE
Method Detail |
---|
void registerCache(Cache cache)
cache
- void deregisterCache(Cache cache)
int requestMem(Cache cache)
Cache.resize(int)
method to resize the cache. The amount
of pages by which the cache will grow is determined by the cache's
growthFactor: Cache.getGrowthFactor()
.
cache
-
void checkCaches()
void checkDistribution()
long getMaxTotal()
long getMaxSingle()
long getCurrentSize()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |