Package org.fusesource.leveldbjni
Class JniDBFactory
java.lang.Object
org.fusesource.leveldbjni.JniDBFactory
- All Implemented Interfaces:
org.iq80.leveldb.DBFactory
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringasString(byte[] value) static byte[]voidorg.iq80.leveldb.DBstatic voidstatic voidpushMemoryPool(int size) voidtoString()
-
Field Details
-
factory
-
VERSION
-
-
Constructor Details
-
JniDBFactory
public JniDBFactory()
-
-
Method Details
-
bytes
-
asString
-
open
- Specified by:
openin interfaceorg.iq80.leveldb.DBFactory- Throws:
IOException
-
destroy
- Specified by:
destroyin interfaceorg.iq80.leveldb.DBFactory- Throws:
IOException
-
repair
- Specified by:
repairin interfaceorg.iq80.leveldb.DBFactory- Throws:
IOException
-
toString
-
pushMemoryPool
public static void pushMemoryPool(int size) -
popMemoryPool
public static void popMemoryPool()
-