| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.electric.database.geometry.btree.CachingPageStorage.CachedPage
com.sun.electric.database.geometry.btree.CachingPageStorageWrapper.CachedPageImpl
public class CachingPageStorageWrapper.CachedPageImpl
A page which is currently in the cache.
| Method Summary | |
|---|---|
 void | 
flush()
Write the page to disk.  | 
 byte[] | 
getBuf()
gets the byte[] for this page; it is okay to manipulate it directly, but you must call setDirty() and flush() afterwards  | 
 int | 
getPageId()
the pageid of this cached page  | 
 boolean | 
isDirty()
indicates whether or not the page is dirty  | 
 void | 
setDirty()
Marks a page as dirty.  | 
 void | 
touch()
Indicate that this page has been "used" for purposes of eviction.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public byte[] getBuf()
CachingPageStorage.CachedPage
getBuf in class CachingPageStorage.CachedPagepublic int getPageId()
CachingPageStorage.CachedPage
getPageId in class CachingPageStorage.CachedPagepublic void touch()
touch in class CachingPageStorage.CachedPagepublic void setDirty()
setDirty in class CachingPageStorage.CachedPagepublic void flush()
flush in class CachingPageStorage.CachedPagepublic boolean isDirty()
isDirty in class CachingPageStorage.CachedPage
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||