|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exist.storage.dom.DOMFile.DOMPage
| Field Summary |
| Fields inherited from interface org.exist.storage.cache.Cacheable |
MAX_REF |
| Constructor Summary | |
DOMFile.DOMPage()
|
|
DOMFile.DOMPage(long pos)
|
|
DOMFile.DOMPage(Paged.Page page)
|
|
| Method Summary | |
boolean |
allowUnload()
Is it safe to unload the Cacheable from the cache? Called before an object is actually removed. |
void |
cleanUp()
Walk through the page after records have been removed. |
int |
decReferenceCount()
Decrease the reference count of this object by one and return it. |
java.lang.String |
dumpPage()
|
boolean |
equals(java.lang.Object obj)
|
DOMFile.RecordPos |
findRecord(short targetId)
|
long |
getKey()
Get a unique key for the object. |
DOMFile.DOMFilePageHeader |
getPageHeader()
|
long |
getPageNum()
|
int |
getReferenceCount()
Get the current reference count. |
int |
getTimestamp()
Get the current timestamp marker. |
int |
incReferenceCount()
Increase the reference count of this object by one and return it. |
void |
invalidate()
|
boolean |
isDirty()
|
boolean |
isInvalidated()
|
void |
setDirty(boolean dirty)
|
void |
setReferenceCount(int count)
Set the reference count of this object. |
void |
setTimestamp(int timestamp)
Set the timestamp marker. |
boolean |
sync(boolean syncJournal)
Called before the object is released by the cache. |
void |
write()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DOMFile.DOMPage()
public DOMFile.DOMPage(long pos)
public DOMFile.DOMPage(Paged.Page page)
| Method Detail |
public DOMFile.RecordPos findRecord(short targetId)
public long getKey()
Cacheable
getKey in interface Cacheablepublic int getReferenceCount()
Cacheable
getReferenceCount in interface Cacheablepublic int decReferenceCount()
Cacheable
decReferenceCount in interface Cacheablepublic int incReferenceCount()
Cacheable
incReferenceCount in interface Cacheablepublic void setReferenceCount(int count)
Cacheable
setReferenceCount in interface Cacheablecount - public void setTimestamp(int timestamp)
Cacheable
setTimestamp in interface Cacheabletimestamp - public int getTimestamp()
Cacheable
getTimestamp in interface Cacheablepublic DOMFile.DOMFilePageHeader getPageHeader()
public long getPageNum()
public boolean isDirty()
isDirty in interface Cacheablepublic void setDirty(boolean dirty)
public void write()
public java.lang.String dumpPage()
public boolean sync(boolean syncJournal)
Cacheable
sync in interface Cacheablepublic boolean allowUnload()
Cacheable
allowUnload in interface Cacheablepublic boolean equals(java.lang.Object obj)
public void invalidate()
public boolean isInvalidated()
public void cleanUp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||