|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.io.dbaseapi.DBaseIndex.Cache
public class DBaseIndex.Cache
Inner class for the cache. The cache remembers recently used pages.
| Nested Class Summary | |
|---|---|
(package private) class |
DBaseIndex.Cache.Item
Inner class for the cache items |
| Constructor Summary | |
|---|---|
DBaseIndex.Cache()
Create a new cache |
|
| Method Summary | |
|---|---|
void |
flush()
Flush the cache (eg. store modified pages) |
org.deegree.io.dbaseapi.DBaseIndex.Page |
get(int number)
Get a page form the cache |
void |
insert(int number,
org.deegree.io.dbaseapi.DBaseIndex.Page p)
Insert a new item into the cache |
(package private) void |
removeItem()
Remove an item from the cache (this method searches for the last used item) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DBaseIndex.Cache()
| Method Detail |
|---|
void removeItem()
throws java.io.IOException
java.io.IOException
public void insert(int number,
org.deegree.io.dbaseapi.DBaseIndex.Page p)
throws java.io.IOException
java.io.IOExceptionpublic org.deegree.io.dbaseapi.DBaseIndex.Page get(int number)
nullpublic void flush()
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org