Class Index
java.lang.Object
com.swiftmq.impl.store.standard.index.Index
- Direct Known Subclasses:
QueueIndex,RootIndex
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadd(IndexEntry entry) abstract IndexPagecreateIndexPage(int pageNo) find(Comparable key) intvoidremove(Comparable key) voidreplace(Comparable key, IndexEntry newEntry) voidsetJournal(List journal) toString()void
-
Constructor Details
-
Index
-
-
Method Details
-
getRootPageNo
public int getRootPageNo() -
unloadPages
- Throws:
Exception
-
createIndexPage
- Throws:
Exception
-
setJournal
-
getJournal
-
getEntries
- Throws:
Exception
-
getMaxKey
- Throws:
Exception
-
find
- Parameters:
key-- Throws:
Exception
-
replace
- Parameters:
key-- Throws:
Exception
-
add
- Parameters:
entry-- Throws:
Exception
-
remove
- Parameters:
key-- Throws:
Exception
-
toString
-