public class JniDBFactory extends Object implements org.iq80.leveldb.DBFactory
| Modifier and Type | Field and Description |
|---|---|
static JniDBFactory |
factory |
static String |
VERSION |
| Constructor and Description |
|---|
JniDBFactory() |
| Modifier and Type | Method and Description |
|---|---|
static String |
asString(byte[] value) |
static byte[] |
bytes(String value) |
void |
destroy(File path,
org.iq80.leveldb.Options options) |
org.iq80.leveldb.DB |
open(File path,
org.iq80.leveldb.Options options) |
static void |
popMemoryPool() |
static void |
pushMemoryPool(int size) |
void |
repair(File path,
org.iq80.leveldb.Options options) |
String |
toString() |
public static final JniDBFactory factory
public static final String VERSION
public static byte[] bytes(String value)
public static String asString(byte[] value)
public org.iq80.leveldb.DB open(File path, org.iq80.leveldb.Options options) throws IOException
open in interface org.iq80.leveldb.DBFactoryIOExceptionpublic void destroy(File path, org.iq80.leveldb.Options options) throws IOException
destroy in interface org.iq80.leveldb.DBFactoryIOExceptionpublic void repair(File path, org.iq80.leveldb.Options options) throws IOException
repair in interface org.iq80.leveldb.DBFactoryIOExceptionpublic static void pushMemoryPool(int size)
public static void popMemoryPool()
Copyright © 2009–2015 FuseSource, Corp.. All rights reserved.