Class NativeObject

java.lang.Object
org.fusesource.leveldbjni.internal.NativeObject
Direct Known Subclasses:
NativeBuffer, NativeBuffer.Allocation, NativeCache, NativeComparator, NativeDB, NativeIterator, NativeLogger, NativeSnapshot, NativeStatus, NativeStdString, NativeWriteBatch

class NativeObject extends Object
A helper base class which is used to track a pointer to a native structure or class.
  • Field Details

    • self

      protected long self
  • Constructor Details

    • NativeObject

      protected NativeObject(long self)
  • Method Details

    • pointer

      long pointer()
    • isAllocated

      public boolean isAllocated()
    • assertAllocated

      protected void assertAllocated()