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 |
static ConfigOption<String> |
CACHE_MODE |
protected com.sleepycat.je.Environment |
environment |
protected StoreFeatures |
features |
static ConfigOption<String> |
ISOLATION_LEVEL |
static ConfigOption<Integer> |
JVM_CACHE |
static ConfigOption<String> |
LOCK_MODE |
static ConfigOption<Boolean> |
SHARED_CACHE |
directoryassignTimestamp, batchLoading, storageConfig, transactional| Constructor and Description |
|---|
BerkeleyJEStoreManager(Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
BerkeleyJETx |
beginTransaction(BaseTransactionConfig txCfg) |
void |
clearStorage() |
void |
close() |
boolean |
exists() |
StoreFeatures |
getFeatures() |
List<KeyRange> |
getLocalKeyPartition() |
String |
getName() |
void |
mutateMany(Map<String,KVMutation> mutations,
StoreTransaction txh) |
BerkeleyJEKeyValueStore |
openDatabase(String name) |
getMetaDataSchema, getStorageConfig, isAssignTimestampclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHadoopManagerpublic static final ConfigNamespace BERKELEY_NS
public static final ConfigOption<Integer> JVM_CACHE
public static final ConfigOption<Boolean> SHARED_CACHE
public static final ConfigOption<String> LOCK_MODE
public static final ConfigOption<String> CACHE_MODE
public static final ConfigOption<String> 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 boolean exists()
throws BackendException
exists in interface StoreManagerBackendExceptionpublic String getName()
getName in interface StoreManagerCopyright © 2012–2024. All rights reserved.