|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.store.views.ViewStorageConfiguration
public class ViewStorageConfiguration
Field Summary | |
---|---|
static java.lang.String |
TYPE_NAME
|
Constructor Summary | |
---|---|
ViewStorageConfiguration(VoldemortConfig config,
java.util.List<StoreDefinition> stores,
StoreRepository repo)
|
Method Summary | |
---|---|
void |
close()
Close the storage configuration |
StorageEngine<ByteArray,byte[],byte[]> |
getStore(StoreDefinition storeDef,
RoutingStrategy strategy)
Get an initialized storage implementation |
java.lang.String |
getType()
Get the type of stores returned by this configuration |
static SerializerFactory |
loadSerializerFactory(java.lang.String className)
|
static View<?,?,?,?> |
loadTransformation(java.lang.String className)
|
void |
removeStorageEngine(StorageEngine<ByteArray,byte[],byte[]> engine)
Remove the storage engine from the underlying storage configuration |
void |
update(StoreDefinition storeDef)
Update the storage configuration at runtime |
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 ViewStorageConfiguration(VoldemortConfig config, java.util.List<StoreDefinition> stores, StoreRepository repo)
Method Detail |
---|
public void close()
StorageConfiguration
close
in interface StorageConfiguration
public StorageEngine<ByteArray,byte[],byte[]> getStore(StoreDefinition storeDef, RoutingStrategy strategy)
StorageConfiguration
getStore
in interface StorageConfiguration
storeDef
- store definitionstrategy
- routing strategy used for the store
public java.lang.String getType()
StorageConfiguration
getType
in interface StorageConfiguration
public static SerializerFactory loadSerializerFactory(java.lang.String className)
public static View<?,?,?,?> loadTransformation(java.lang.String className)
public void update(StoreDefinition storeDef)
StorageConfiguration
update
in interface StorageConfiguration
storeDef
- new store definition objectpublic void removeStorageEngine(StorageEngine<ByteArray,byte[],byte[]> engine)
StorageConfiguration
removeStorageEngine
in interface StorageConfiguration
engine
- Specifies the storage engine to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |