|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StorageConfiguration
An abstraction that represents the shared resources of a persistence engine. This could include file handles, db connection pools, caches, etc. For example for BDB it holds the various environments, for jdbc it holds a connection pool reference This should be called StorageEngineFactory but that would leave us with the indignity of having a StorageEngineFactoryFactory to handle the mapping of store type => factory. And we can't have that.
| Method Summary | |
|---|---|
void |
close()
Close the storage configuration |
StorageEngine<ByteArray,byte[],byte[]> |
getStore(java.lang.String name)
Get an initialized storage implementation |
java.lang.String |
getType()
Get the type of stores returned by this configuration |
| Method Detail |
|---|
StorageEngine<ByteArray,byte[],byte[]> getStore(java.lang.String name)
name - The name of the storage
java.lang.String getType()
void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||