first version of pure java version of offheap cache based on unsafe.