de.lmu.ifi.dbs.elki.persistent
Interface CachedFile<P extends Page<P>>
- Type Parameters:
P
- Page type
- All Known Implementing Classes:
- MemoryPageFile, OnDiskArrayPageFile, PageFile, PersistentPageFile
public interface CachedFile<P extends Page<P>>
Defines the requirements for an underlying file of a cache that stores
objects implementing the Page interface.
- Author:
- Elke Achtert
Method Summary |
void |
objectRemoved(P page)
This method is called by the cache if the page is not longer
stored in the cache and has to be written to disk. |
objectRemoved
void objectRemoved(P page)
- This method is called by the cache if the
page
is not longer
stored in the cache and has to be written to disk.
- Parameters:
page
- the page which has to be written to disk