Class Index
java.lang.Object
com.swiftmq.impl.store.standard.index.Index
- Direct Known Subclasses:
QueueIndex
,RootIndex
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
add
(IndexEntry entry) abstract IndexPage
createIndexPage
(int pageNo) find
(Comparable key) int
void
remove
(Comparable key) void
replace
(Comparable key, IndexEntry newEntry) void
setJournal
(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
-