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
StorageProvider#setConfig(StartupConfiguration) . |
Storage |
createStorage()
Creates a new
Storage . |
void |
setConfig(String url,
StorageCredentials creds,
SSLConfiguration sslConf)
Sets the to-be-used configuration of this StorageProvider.
|
void setConfig(String url, StorageCredentials creds, SSLConfiguration sslConf)
canHandleProtocol()
.config
- sslConf
- boolean canHandleProtocol()
StorageProvider#setConfig(StartupConfiguration)
.
StorageProvider#setConfig(StartupConfiguration)
.createStorage()
can be safely called
given this config. false otherwise.Copyright © 2015. All Rights Reserved.