public interface StorageProvider
Storage instance.| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleProtocol()
Method which determines if this StorageProvider can handle the given
protocol as set via
setConfig(StartupConfiguration). |
Storage |
createStorage()
Creates a new
Storage. |
void |
setConfig(StartupConfiguration config)
Sets the to-be-used configuration of this StorageProvider.
|
void setConfig(StartupConfiguration config)
canHandleProtocol().config - boolean canHandleProtocol()
setConfig(StartupConfiguration).
setConfig(StartupConfiguration).createStorage() can be safely called
given this config. false otherwise.Copyright © 2013. All Rights Reserved.