public class IntToIntBtree
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
IntToIntBtree.BtreeDataStorage |
static class |
IntToIntBtree.KeyValueProcessor |
| Constructor and Description |
|---|
IntToIntBtree(int pageSize,
java.nio.file.Path file,
PagedFileStorage.StorageLockContext storageLockContext,
boolean initial) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAllocateRoot() |
void |
doClose() |
void |
doFlush() |
boolean |
get(int key,
int [] result) |
int |
persistVars(IntToIntBtree.BtreeDataStorage storage,
boolean toDisk) |
boolean |
processMappings(IntToIntBtree.KeyValueProcessor processor) |
void |
put(int key,
int value) |
static int |
version() |
public IntToIntBtree(int pageSize,
java.nio.file.Path file,
PagedFileStorage.StorageLockContext storageLockContext,
boolean initial)
throws java.io.IOException
java.io.IOExceptionpublic static int version()
protected void doAllocateRoot()
public int persistVars(IntToIntBtree.BtreeDataStorage storage, boolean toDisk)
public boolean get(int key,
int [] result)
public void put(int key,
int value)
public void doClose()
throws java.io.IOException
java.io.IOExceptionpublic void doFlush()
public boolean processMappings(IntToIntBtree.KeyValueProcessor processor) throws java.io.IOException
java.io.IOException