de.lmu.ifi.dbs.elki.persistent
Interface Page

All Superinterfaces:
Externalizable, Serializable
All Known Subinterfaces:
Node<E>, SpatialNode<N,E>
All Known Implementing Classes:
AbstractMTreeNode, AbstractNode, AbstractPage, AbstractRStarTreeNode, DeLiCluNode, MkAppTreeNode, MkCoPTreeNode, MkMaxTreeNode, MkTabTreeNode, MTreeNode, RStarTreeNode

public interface Page
extends Externalizable

Defines the requirements for objects that can be stored in a cache and can be persistently saved.


Method Summary
 Integer getPageID()
          Returns the unique id of this Page.
 boolean isDirty()
          Returns true if this page is dirty, false otherwise.
 void setDirty(boolean dirty)
          Sets the dirty flag of this page.
 void setPageID(int id)
          Sets the unique id of this Page.
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

getPageID

Integer getPageID()
Returns the unique id of this Page.

Returns:
the unique id of this Page. May be null.

setPageID

void setPageID(int id)
Sets the unique id of this Page.

Parameters:
id - the id to be set

isDirty

boolean isDirty()
Returns true if this page is dirty, false otherwise.

Returns:
true if this page is dirty, false otherwise

setDirty

void setDirty(boolean dirty)
Sets the dirty flag of this page.

Parameters:
dirty - the dirty flag to be set

Release 0.4.0 (2011-09-20_1324)