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
A helper base class which is used to track a pointer to a native
structure or class.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
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()
-