Class IndexPage
java.lang.Object
com.swiftmq.impl.store.standard.index.IndexPage
- All Implemented Interfaces:
Iterator
- Direct Known Subclasses:
QueueIndexPage,RootIndexPage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntry(IndexEntry indexEntry) intprotected abstract IndexEntryintintintintgetPage()intbooleanhasNext()iterator()voidload()next()voidremove()voidreplace(IndexEntry newEntry) voidsetJournal(List journal) voidsetNextPage(int l) voidsetPageNo(int pageNo) voidsetPrevPage(int l) toString()voidunload()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
IndexPage
-
-
Method Details
-
setPageNo
public void setPageNo(int pageNo) -
setJournal
-
getLogRecord
-
load
public void load() -
unload
- Throws:
Exception
-
getPage
-
getNextPage
public int getNextPage() -
setNextPage
public void setNextPage(int l) -
getPrevPage
public int getPrevPage() -
setPrevPage
public void setPrevPage(int l) -
getNumberEntries
public int getNumberEntries() -
getNumberValidEntries
public int getNumberValidEntries() -
getFirstFreePosition
public int getFirstFreePosition() -
available
public int available() -
addEntry
- Parameters:
indexEntry-
-
iterator
-
next
-
hasNext
public boolean hasNext() -
remove
public void remove() -
replace
-
createIndexEntry
-
toString
-