Package | Description |
---|---|
net.metanotion.io.block | |
net.metanotion.io.block.index |
Modifier and Type | Method and Description |
---|---|
<K extends Comparable<? super K>,V> |
BlockFile.getIndex(String name,
Serializer<K> key,
Serializer<V> val)
Open a skiplist if it exists.
|
<K extends Comparable<? super K>,V> |
BlockFile.makeIndex(String name,
Serializer<K> key,
Serializer<V> val)
Create and open a new skiplist if it does not exist.
|
Modifier and Type | Method and Description |
---|---|
protected static <X extends Comparable<? super X>,Y> |
BSkipSpan.loadInit(BSkipSpan<X,Y> bss,
BlockFile bf,
BSkipList<X,Y> bsl,
int spanPage,
Serializer<X> key,
Serializer<Y> val)
I2P - first half of load()
Only read the span headers
|
Constructor and Description |
---|
BSkipLevels(BlockFile bf,
int levelPage,
BSkipList<K,V> bsl)
Non-recursive initializer initializeLevels()
MUST be called on the first BSkipLevel in the skiplist
after the constructor, unless it's a new empty
level and init() was previously called.
|
BSkipSpan(BlockFile bf,
BSkipList<K,V> bsl) |
BSkipSpan(BlockFile bf,
BSkipList<K,V> bsl,
int spanPage,
Serializer<K> key,
Serializer<V> val) |
IBSkipSpan(BlockFile bf,
BSkipList<K,V> bsl,
int spanPage,
Serializer<K> key,
Serializer<V> val) |