public class BerkeleyJEStoreManager extends LocalStoreManager implements OrderedKeyValueStoreManager
| Modifier and Type | Class and Description |
|---|---|
static class |
BerkeleyJEStoreManager.IsolationLevel |
| Modifier and Type | Field and Description |
|---|---|
static ConfigNamespace |
BERKELEY_NS |
protected com.sleepycat.je.Environment |
environment |
protected StoreFeatures |
features |
static ConfigOption<BerkeleyJEStoreManager.IsolationLevel> |
ISOLATION_LEVEL |
static ConfigOption<Integer> |
JVM_CACHE |
static ConfigOption<com.sleepycat.je.LockMode> |
LOCK_MODE |
directorybatchLoading, isReadOnly, storageConfig, transactional| Constructor and Description |
|---|
BerkeleyJEStoreManager(Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
BerkeleyJETx |
beginTransaction(BaseTransactionConfig txCfg) |
void |
clearStorage() |
void |
close() |
StoreFeatures |
getFeatures() |
List<KeyRange> |
getLocalKeyPartition() |
String |
getName() |
void |
mutateMany(Map<String,KVMutation> mutations,
StoreTransaction txh) |
BerkeleyJEKeyValueStore |
openDatabase(String name) |
getMetaDataSchema, getStorageConfigpublic static final ConfigNamespace BERKELEY_NS
public static final ConfigOption<Integer> JVM_CACHE
public static final ConfigOption<com.sleepycat.je.LockMode> LOCK_MODE
public static final ConfigOption<BerkeleyJEStoreManager.IsolationLevel> ISOLATION_LEVEL
protected com.sleepycat.je.Environment environment
protected final StoreFeatures features
public BerkeleyJEStoreManager(Configuration configuration) throws BackendException
BackendExceptionpublic StoreFeatures getFeatures()
getFeatures in interface StoreManagerpublic List<KeyRange> getLocalKeyPartition() throws BackendException
getLocalKeyPartition in interface StoreManagerBackendExceptionpublic BerkeleyJETx beginTransaction(BaseTransactionConfig txCfg) throws BackendException
beginTransaction in interface StoreManagerBackendExceptionpublic BerkeleyJEKeyValueStore openDatabase(String name) throws BackendException
openDatabase in interface KeyValueStoreManageropenDatabase in interface OrderedKeyValueStoreManagerBackendExceptionpublic void mutateMany(Map<String,KVMutation> mutations, StoreTransaction txh) throws BackendException
mutateMany in interface OrderedKeyValueStoreManagerBackendExceptionpublic void close()
throws BackendException
close in interface StoreManagerBackendExceptionpublic void clearStorage()
throws BackendException
clearStorage in interface StoreManagerBackendExceptionpublic String getName()
getName in interface StoreManagerCopyright © 2012–2016. All rights reserved.