org.netbeans.mdr.persistence.btreeimpl.btreestorage
Interface MDRCache.OverflowHandler
- All Known Implementing Classes:
- BtreeDatabase
- Enclosing interface:
- MDRCache
- public static interface MDRCache.OverflowHandler
The cache handler is called when the number of changes in the cache
reaches its threshhold. The handler is expected to do something
to reduce the number of changed objects in the cache, for instance,
write them to disk
cacheThreshholdReached
public void cacheThreshholdReached(MDRCache cache,
int size)
throws StorageException
- Notify handler that the cache has reached its threshhold
- Parameters:
cache
- cache which reached threshholdsize
- number of changed objects currently in cache
- Throws:
StorageException
Copyright © 2005 Apache Software Foundation. All Rights Reserved.