Class IndexPage
java.lang.Object
com.swiftmq.impl.store.standard.index.IndexPage
- All Implemented Interfaces:
Iterator
- Direct Known Subclasses:
QueueIndexPage
,RootIndexPage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntry
(IndexEntry indexEntry) int
protected abstract IndexEntry
int
int
int
int
getPage()
int
boolean
hasNext()
iterator()
void
load()
next()
void
remove()
void
replace
(IndexEntry newEntry) void
setJournal
(List journal) void
setNextPage
(int l) void
setPageNo
(int pageNo) void
setPrevPage
(int l) toString()
void
unload()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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
-