Class OffHeapByteTree

java.lang.Object
org.nustaq.offheap.OffHeapByteTree

public class OffHeapByteTree
extends java.lang.Object
Created by ruedi on 29.06.14. rewrite as old version was unmaintainable and poorly documented + segfaulted on some very specific operation + data permutations Temporary on-heap slowish implementation (so index for offheap objects is on heap currently)
  • Constructor Summary

    Constructors 
    Constructor Description
    OffHeapByteTree​(int keyLen, long aVoid)  
  • Method Summary

    Modifier and Type Method Description
    void dumpStats()  
    static long estimateMBytesForIndex​(int keyLen, int numberOfElems)  
    void free()  
    long get​(ByteSource byteKey)  
    protected HeapBytez getTmpHeapBytez​(ByteSource byteKey, byte[] base)  
    void put​(ByteSource byteKey, long off)  
    void remove​(ByteSource byteKey)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait