|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvoldemort.store.bdb.BdbStorageConfiguration
public class BdbStorageConfiguration
The configuration that is shared between berkeley db instances. This includes the db environment and the configuration
| Field Summary | |
|---|---|
static java.lang.String |
TYPE_NAME
|
| Constructor Summary | |
|---|---|
BdbStorageConfiguration(VoldemortConfig config)
|
|
| Method Summary | |
|---|---|
void |
cleanLogs()
Forceful cleanup the logs |
void |
close()
Close the storage configuration |
java.lang.String |
getEnvStatsAsString(java.lang.String storeName)
|
com.sleepycat.je.EnvironmentStats |
getStats(java.lang.String storeName)
|
StorageEngine<ByteArray,byte[],byte[]> |
getStore(java.lang.String storeName)
Get an initialized storage implementation |
java.lang.String |
getType()
Get the type of stores returned by this configuration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TYPE_NAME
| Constructor Detail |
|---|
public BdbStorageConfiguration(VoldemortConfig config)
| Method Detail |
|---|
public StorageEngine<ByteArray,byte[],byte[]> getStore(java.lang.String storeName)
StorageConfiguration
getStore in interface StorageConfigurationstoreName - The name of the storage
public java.lang.String getType()
StorageConfiguration
getType in interface StorageConfigurationpublic com.sleepycat.je.EnvironmentStats getStats(java.lang.String storeName)
public java.lang.String getEnvStatsAsString(java.lang.String storeName)
throws java.lang.Exception
java.lang.Exceptionpublic void cleanLogs()
public void close()
StorageConfiguration
close in interface StorageConfiguration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||