OffHeapHashMap is the base class for all the hash map functionality
int he offheap-store package, and this class traditionally has a lot
of protected members in order to expose very low-level functionality.
I opened up some more bits and bobs, in order to faciliate other
interesting usage. One slight nub was that I had to a
conditionallyShrink(), which is identical to shrink() (just a passthru)
because other classes overrode shrink().
Members (methods and fields) were only moved from privcate to protected.
Two methods were added, conditionallyShrink() and keyForEntry().
OffHeapHashMap is the base class for all the hash map functionality int he offheap-store package, and this class traditionally has a lot of protected members in order to expose very low-level functionality.
I opened up some more bits and bobs, in order to faciliate other interesting usage. One slight nub was that I had to a conditionallyShrink(), which is identical to shrink() (just a passthru) because other classes overrode shrink().
Members (methods and fields) were only moved from privcate to protected. Two methods were added, conditionallyShrink() and keyForEntry().